diff options
author | Greg McGary <greg@mcgary.org> | 1997-04-18 06:36:13 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1997-04-18 06:36:13 +0000 |
commit | f7fbb00cfa697cd1a47def573df65dd4d326c742 (patch) | |
tree | eda6aec5ae8de93a0d90dfe3e05d0c09d0e4cb8b /acconfig.h | |
parent | 9da09030255feafece5f9d87617a64d5c66ede6f (diff) | |
download | idutils-f7fbb00cfa697cd1a47def573df65dd4d326c742.tar.gz idutils-f7fbb00cfa697cd1a47def573df65dd4d326c742.tar.bz2 idutils-f7fbb00cfa697cd1a47def573df65dd4d326c742.zip |
imported from mkid-3.0.5r3_0_5
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -28,3 +28,29 @@ /* Define to filename of iid help text. */ #undef IID_HELP_FILE + +@BOTTOM@ + +#if SIZEOF_LONG == 4 +typedef unsigned long uint32_t; +typedef long int32_t; +#else /* SIZEOF_LONG != 4 */ +#if SIZEOF_INT == 4 +typedef unsigned int uint32_t; +typedef int int32_t; +#else /* SIZEOF_INT != 4 */ +#error "Your system is weird. What integer has sizeof () == 4 ???" +#endif /* SIZEOF_INT != 4 */ +#endif /* SIZEOF_LONG != 4 */ + +#if SIZEOF_SHORT == 2 +typedef unsigned short uint16_t; +#else +#error "Your system is weird. sizeof (short) != 2" +#endif + +#if SIZEOF_CHAR == 1 +typedef unsigned char uint8_t; +#else +#error "Your system is weird. sizeof (char) != 1" +#endif |