diff options
author | Werner Koch <[email protected]> | 1998-01-05 19:13:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-01-05 19:13:15 +0000 |
commit | e1117ae4a1bfc0bb644432b41ef90fead9a731cb (patch) | |
tree | 94318967baa939ebb198adaca70ad31caf0c1f54 /include | |
parent | added more stuff (diff) | |
download | gnupg-0-0-0.tar.gz gnupg-0-0-0.zip |
NT version compilesV0-0-0
Diffstat (limited to '')
-rw-r--r-- | include/types.h | 8 | ||||
-rw-r--r-- | include/util.h | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/types.h b/include/types.h index 0a2d8752f..be217df69 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 == 2 + #if SIZEOF_UNSIGNED_INT == 16 typedef unsigned int u16; - #elif SIZEOF_UNSIGNED_SHORT == 2 + #elif SIZEOF_UNSIGNED_SHORT == 16 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 == 4 + #if SIZEOF_UNSIGNED_INT == 32 typedef unsigned long u32; - #elif SIZEOF_UNSIGNED_LONG == 4 + #elif SIZEOF_UNSIGNED_LONG == 32 typedef unsigned int u32; #else #error no typedef for u32 diff --git a/include/util.h b/include/util.h index c32f74a70..46f337955 100644 --- a/include/util.h +++ b/include/util.h @@ -93,6 +93,9 @@ void free_strlist( STRLIST sl ); #define FREE_STRLIST(a) do { free_strlist((a)); (a) = NULL ; } while(0) char *memistr( char *buf, size_t buflen, const char *sub ); #define stricmp(a,b) strcasecmp((a),(b)) +#ifndef HAVE_STPCPY +char *stpcpy(char *a,const char *b); +#endif /******** some macros ************/ |