summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmagne <jmagne@fba4d07e-fe0f-4d7f-8147-e0026e666dc0>2007-02-06 19:40:36 +0000
committerjmagne <jmagne@fba4d07e-fe0f-4d7f-8147-e0026e666dc0>2007-02-06 19:40:36 +0000
commite0d2d0905e2384b193e5801874c39649bde34dbd (patch)
treed8b428f2dda91bd40654cbad239f85db2c4aeecd /src
parent09cbfdb28ec3804df2d7d588a4662be07ca93787 (diff)
Use proper Windows ifdef, (WIN32 vs. _WINDOWS), to allow compilation on Windows.
git-svn-id: http://svn.fedorahosted.org/svn/coolkey/trunk@43 fba4d07e-fe0f-4d7f-8147-e0026e666dc0
Diffstat (limited to 'src')
-rw-r--r--src/install/pk11install.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/install/pk11install.c b/src/install/pk11install.c
index 1e0c9c4..9e61646 100644
--- a/src/install/pk11install.c
+++ b/src/install/pk11install.c
@@ -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 @@ typedef struct _DirList {
} 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 main(int argc, char **argv)
int i;
InstType type = Install;
char * path = NULL;
-#ifdef _WINDOWS
+#ifdef WIN32
BOOL brc;
HKEY regKey;
unsigned long lrc;
@@ -363,7 +363,7 @@ int main(int argc, char **argv)
return 0;
}
-#ifdef _WINDOWS
+#ifdef WIN32
/* App Data Dir */
brc = SHGetSpecialFolderPath(NULL, appData, CSIDL_APPDATA, FALSE);
if (brc) {