1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

NT version compiles

This commit is contained in:
Werner Koch 1998-01-05 19:13:15 +00:00
parent b7bdef0834
commit e1117ae4a1
14 changed files with 380 additions and 138 deletions

View file

@ -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

View file

@ -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 ************/