From f8e4d353fa70cda37b3d0342a7322bde61b4aa15 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 15 Nov 2010 15:30:04 +0000 Subject: [PATCH] 2010-11-15 Marcus Brinkmann * w32-ce.h (strcasecmp, strdup) [_MSC_VER]: Define. * genkey.c, passphrase.c: Include util.h. --- src/ChangeLog | 3 +++ src/genkey.c | 1 + src/passphrase.c | 1 + src/w32-ce.h | 2 ++ 4 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 19cda90..2a547be 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2010-11-15 Marcus Brinkmann + * 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. 2010-11-15 Werner Koch diff --git a/src/genkey.c b/src/genkey.c index a85e627..6de3bb8 100644 --- a/src/genkey.c +++ b/src/genkey.c @@ -30,6 +30,7 @@ #include "debug.h" #include "context.h" #include "ops.h" +#include "util.h" typedef struct diff --git a/src/passphrase.c b/src/passphrase.c index 7132684..c36b6ae 100644 --- a/src/passphrase.c +++ b/src/passphrase.c @@ -31,6 +31,7 @@ #include "gpgme.h" #include "context.h" #include "ops.h" +#include "util.h" typedef struct diff --git a/src/w32-ce.h b/src/w32-ce.h index a74c6e1..36f1e9e 100644 --- a/src/w32-ce.h +++ b/src/w32-ce.h @@ -26,6 +26,8 @@ #ifdef _MSC_VER typedef int pid_t; +#define strdup _strdup +#define strcasecmp _stricmp #endif #include -- 2.26.2