[svn] gpgme - r1506 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Mon Nov 15 16:30:05 CET 2010
Author: marcus
Date: 2010-11-15 16:30:04 +0100 (Mon, 15 Nov 2010)
New Revision: 1506
Modified:
trunk/src/ChangeLog
trunk/src/genkey.c
trunk/src/passphrase.c
trunk/src/w32-ce.h
Log:
2010-11-15 Marcus Brinkmann <mb at g10code.com>
* w32-ce.h (strcasecmp, strdup) [_MSC_VER]: Define.
* genkey.c, passphrase.c: Include util.h.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2010-11-15 15:29:17 UTC (rev 1505)
+++ trunk/src/ChangeLog 2010-11-15 15:30:04 UTC (rev 1506)
@@ -1,5 +1,8 @@
2010-11-15 Marcus Brinkmann <mb at 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.
2010-11-15 Werner Koch <wk at g10code.com>
Modified: trunk/src/genkey.c
===================================================================
--- trunk/src/genkey.c 2010-11-15 15:29:17 UTC (rev 1505)
+++ trunk/src/genkey.c 2010-11-15 15:30:04 UTC (rev 1506)
@@ -30,6 +30,7 @@
#include "debug.h"
#include "context.h"
#include "ops.h"
+#include "util.h"
typedef struct
Modified: trunk/src/passphrase.c
===================================================================
--- trunk/src/passphrase.c 2010-11-15 15:29:17 UTC (rev 1505)
+++ trunk/src/passphrase.c 2010-11-15 15:30:04 UTC (rev 1506)
@@ -31,6 +31,7 @@
#include "gpgme.h"
#include "context.h"
#include "ops.h"
+#include "util.h"
typedef struct
Modified: trunk/src/w32-ce.h
===================================================================
--- trunk/src/w32-ce.h 2010-11-15 15:29:17 UTC (rev 1505)
+++ trunk/src/w32-ce.h 2010-11-15 15:30:04 UTC (rev 1506)
@@ -26,6 +26,8 @@
#ifdef _MSC_VER
typedef int pid_t;
+#define strdup _strdup
+#define strcasecmp _stricmp
#endif
#include <winsock2.h>
More information about the Gnupg-commits
mailing list