[go: up one dir, main page]

File: lcconfig.h

package info (click to toggle)
lincity 1.13.1-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,732 kB
  • ctags: 4,794
  • sloc: ansic: 32,736; sh: 8,578; makefile: 628; perl: 445; yacc: 316; sed: 16
file content (33 lines) | stat: -rw-r--r-- 749 bytes parent folder | download | duplicates (8)
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__ */