[go: up one dir, main page]

File: lcconfig.h

package info (click to toggle)
lincity 1.12.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,288 kB
  • ctags: 4,483
  • sloc: ansic: 31,919; sh: 3,538; makefile: 658; perl: 372; yacc: 316; sed: 16
file content (33 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* ---------------------------------------------------------------------- *
 * lcconfig.h
 * This file is part of lincity.
 * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
 * ---------------------------------------------------------------------- */
#ifndef __lcconfig_h__
#define __lcconfig_h__

#if defined (HAVE_CONFIG_H)
#include "config.h"
#elif defined (WIN32)
#include "confw32.h"
#endif

#if (SIZEOF_SHORT==4)
typedef short Int32;
#elif (SIZEOF_INT==4)
typedef int Int32;
#elif (SIZEOF_LONG==4)
typedef long Int32;
#else
ERROR.  Int32 is not defined.
#endif

#if (SIZEOF_SHORT==2)
typedef short Int16;
#elif (SIZEOF_INT==2)
typedef int Int16;
#else
ERROR.  Int16 is not defined.
#endif

#endif	/* __lcconfig_h__ */