Main Page | Data Structures | Directories | File List | Data Fields | Globals

lcconfig.h

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------- *
00002  * lcconfig.h
00003  * This file is part of lincity.
00004  * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
00005  * ---------------------------------------------------------------------- */
00006 #ifndef __lcconfig_h__
00007 #define __lcconfig_h__
00008 
00009 #if defined (HAVE_CONFIG_H)
00010 #include "config.h"
00011 #elif defined (WIN32)
00012 #include "confw32.h"
00013 #endif
00014 
00015 #if (SIZEOF_SHORT==4)
00016 typedef short Int32;
00017 #elif (SIZEOF_INT==4)
00018 typedef int Int32;
00019 #elif (SIZEOF_LONG==4)
00020 typedef long Int32;
00021 #else
00022 ERROR.  Int32 is not defined.
00023 #endif
00024 
00025 #if (SIZEOF_SHORT==2)
00026 typedef short Int16;
00027 #elif (SIZEOF_INT==2)
00028 typedef int Int16;
00029 #else
00030 ERROR.  Int16 is not defined.
00031 #endif
00032 
00033 #endif  /* __lcconfig_h__ */

Generated on Sun Dec 26 11:23:24 2004 for lincity by  doxygen 1.3.9.1