Author: jmagne
Update of /cvs/dirsec/coolkey/src/install
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20409
Modified Files:
pk11install.c
Log Message:
Use proper Windows ifdef, (WIN32 vs. _WINDOWS), to allow compilation on Windows.
Index: pk11install.c
===================================================================
RCS file: /cvs/dirsec/coolkey/src/install/pk11install.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pk11install.c 18 Jan 2007 01:05:07 -0000 1.2
+++ pk11install.c 6 Feb 2007 19:40:36 -0000 1.3
@@ -25,7 +25,7 @@
/*
* windows specific globing search
*/
-#ifdef _WINDOWS
+#ifdef WIN32
#include <windows.h>
#include <winver.h>
#include <winreg.h>
@@ -138,7 +138,7 @@
} DirList;
DirList dirList[] = {
-#ifdef _WINDOWS
+#ifdef WIN32
{ AppDataDir, "Mozilla\\Profiles\\*", "*.slt" },
{ AppDataDir, "Mozilla\\Firefox\\Profiles\\*", NULL },
{ AppDataDir, "Thunderbird\\Profiles\\*", NULL },
@@ -309,7 +309,7 @@
int i;
InstType type = Install;
char * path = NULL;
-#ifdef _WINDOWS
+#ifdef WIN32
BOOL brc;
HKEY regKey;
unsigned long lrc;
@@ -363,7 +363,7 @@
return 0;
}
-#ifdef _WINDOWS
+#ifdef WIN32
/* App Data Dir */
brc = SHGetSpecialFolderPath(NULL, appData, CSIDL_APPDATA, FALSE);
if (brc) {
Show replies by date