Freeciv-3.4
Loading...
Searching...
No Matches
main
utility
executable.c
Go to the documentation of this file.
1
/***********************************************************************
2
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; either version 2, or (at your option)
6
any later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
***********************************************************************/
13
14
#ifdef HAVE_CONFIG_H
15
#include <fc_config.h>
16
#endif
/* HAVE_CONFIG_H */
17
18
#include "
fc_prehdrs.h
"
19
20
#ifdef FREECIV_MSWINDOWS
21
#include <windows.h>
22
#endif
23
24
#include <stdio.h>
25
26
/* utility */
27
#include "
support.h
"
28
29
#include "
executable.h
"
30
31
/********************************************************************/
34
void
executable_init
(
void
)
35
{
36
/* Load Windows post-crash debugger */
37
#ifdef FREECIV_MSWINDOWS
38
# ifndef FREECIV_NDEBUG
39
if
(
LoadLibrary
(
"exchndl.dll"
) ==
nullptr
) {
40
# ifdef FREECIV_DEBUG
41
fprintf
(
stderr
,
"exchndl.dll could not be loaded, no crash debugger\n"
);
42
# endif
/* FREECIV_DEBUG */
43
}
44
# endif
/* FREECIV_NDEBUG */
45
#endif
/* FREECIV_MSWINDOWS */
46
}
incite_cost
char * incite_cost
Definition
comments.c:77
executable_init
void executable_init(void)
Definition
executable.c:34
executable.h
fc_prehdrs.h
support.h
Generated on Sun Dec 7 2025 22:31:31 for Freeciv-3.4 by
1.9.8