aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-01-06 09:17:55 +0000
committerWerner Koch <[email protected]>1998-01-06 09:17:55 +0000
commit6e0fd3df65f36323ac168fe07abebbbc81a99977 (patch)
treece77f277ebe4da077af61a181253ae9bba3bb385 /include/types.h
parentNT version compiles (diff)
downloadgnupg-0-1-0.tar.gz
gnupg-0-1-0.zip
distributed version 0.1.0V0-1-0
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/types.h b/include/types.h
index be217df69..0a2d8752f 100644
--- a/include/types.h
+++ b/include/types.h
@@ -44,9 +44,9 @@
#ifndef HAVE_U16_TYPEDEF
#undef u16 /* maybe there is a macro with this name */
- #if SIZEOF_UNSIGNED_INT == 16
+ #if SIZEOF_UNSIGNED_INT == 2
typedef unsigned int u16;
- #elif SIZEOF_UNSIGNED_SHORT == 16
+ #elif SIZEOF_UNSIGNED_SHORT == 2
typedef unsigned short u16;
#else
#error no typedef for u16
@@ -56,9 +56,9 @@
#ifndef HAVE_U32_TYPEDEF
#undef u32 /* maybe there is a macro with this name */
- #if SIZEOF_UNSIGNED_INT == 32
+ #if SIZEOF_UNSIGNED_INT == 4
typedef unsigned long u32;
- #elif SIZEOF_UNSIGNED_LONG == 32
+ #elif SIZEOF_UNSIGNED_LONG == 4
typedef unsigned int u32;
#else
#error no typedef for u32