1 /* ---------------------------------------------------------------------- *
2  * lcconfig.h
3  * This file is part of lincity.
4  * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
5  * ---------------------------------------------------------------------- */
6 #ifndef __lcconfig_h__
7 #define __lcconfig_h__
8 
9 #if defined (HAVE_CONFIG_H)
10 #include "config.h"
11 #elif defined (WIN32)
12 #include "confw32.h"
13 #endif
14 
15 #if (SIZEOF_SHORT==4)
16 typedef short Int32;
17 #elif (SIZEOF_INT==4)
18 typedef int Int32;
19 #elif (SIZEOF_LONG==4)
20 typedef long Int32;
21 #else
22 #error  Int32 is not defined.
23 #endif
24 
25 #if (SIZEOF_SHORT==2)
26 typedef short Int16;
27 #elif (SIZEOF_INT==2)
28 typedef int Int16;
29 #else
30 #error  Int16 is not defined.
31 #endif
32 
33 #endif	/* __lcconfig_h__ */
34