summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-01-06 10:17:55 +0100
committerWerner Koch <wk@gnupg.org>1998-01-06 10:17:55 +0100
commit6e0fd3df65f36323ac168fe07abebbbc81a99977 (patch)
treece77f277ebe4da077af61a181253ae9bba3bb385 /include
parentNT version compiles (diff)
downloadgnupg2-6e0fd3df65f36323ac168fe07abebbbc81a99977.tar.xz
gnupg2-6e0fd3df65f36323ac168fe07abebbbc81a99977.zip
distributed version 0.1.0V0-1-0
Diffstat (limited to 'include')
-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