2010-11-15 Marcus Brinkmann <mb@g10code.com>
* w32-ce.h (strcasecmp, strdup) [_MSC_VER]: Define. * genkey.c, passphrase.c: Include util.h.
This commit is contained in:
parent
9c605744a6
commit
f8e4d353fa
@ -1,5 +1,8 @@
|
|||||||
2010-11-15 Marcus Brinkmann <mb@g10code.com>
|
2010-11-15 Marcus Brinkmann <mb@g10code.com>
|
||||||
|
|
||||||
|
* w32-ce.h (strcasecmp, strdup) [_MSC_VER]: Define.
|
||||||
|
* genkey.c, passphrase.c: Include util.h.
|
||||||
|
|
||||||
* w32-util.c (_gpgme_w32ce_get_debug_envvar): Fix return value.
|
* w32-util.c (_gpgme_w32ce_get_debug_envvar): Fix return value.
|
||||||
|
|
||||||
2010-11-15 Werner Koch <wk@g10code.com>
|
2010-11-15 Werner Koch <wk@g10code.com>
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "ops.h"
|
#include "ops.h"
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include "gpgme.h"
|
#include "gpgme.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "ops.h"
|
#include "ops.h"
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
typedef int pid_t;
|
typedef int pid_t;
|
||||||
|
#define strdup _strdup
|
||||||
|
#define strcasecmp _stricmp
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user