summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-16 11:26:51 +0200
committerMichael Stahl <mstahl@redhat.com>2016-02-16 10:37:55 +0000
commitce43d0ae9279edbf1ad108fe0d8325327a038d49 (patch)
treea0fbf7bbd608d1185005a0de36496c6f3656e798 /onlineupdate
parent049cf885c6e6c12ac9fa20bcb4ca1472de5b9115 (diff)
use consistent #define checks for the Windows platform
stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/libmar/inc/mozilla/Assertions.h2
-rw-r--r--onlineupdate/source/libmar/inc/mozilla/Types.h2
-rw-r--r--onlineupdate/source/update/inc/mozilla/Assertions.h2
-rw-r--r--onlineupdate/source/update/inc/mozilla/Types.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/onlineupdate/source/libmar/inc/mozilla/Assertions.h b/onlineupdate/source/libmar/inc/mozilla/Assertions.h
index c72e020806cd..5669091bbb8e 100644
--- a/onlineupdate/source/libmar/inc/mozilla/Assertions.h
+++ b/onlineupdate/source/libmar/inc/mozilla/Assertions.h
@@ -24,7 +24,7 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#ifdef WIN32
+#ifdef _WIN32
/*
* TerminateProcess and GetCurrentProcess are defined in <winbase.h>, which
* further depends on <windef.h>. We hardcode these few definitions manually
diff --git a/onlineupdate/source/libmar/inc/mozilla/Types.h b/onlineupdate/source/libmar/inc/mozilla/Types.h
index a5d936389d99..9d1e34b6d1d6 100644
--- a/onlineupdate/source/libmar/inc/mozilla/Types.h
+++ b/onlineupdate/source/libmar/inc/mozilla/Types.h
@@ -37,7 +37,7 @@
* These macros are designed for use by library interfaces -- not for normal
* methods or data used cross-file.
*/
-#if defined(WIN32)
+#if defined(_WIN32)
# define MOZ_EXPORT __declspec(dllexport)
#else /* Unix */
# ifdef HAVE_VISIBILITY_ATTRIBUTE
diff --git a/onlineupdate/source/update/inc/mozilla/Assertions.h b/onlineupdate/source/update/inc/mozilla/Assertions.h
index c72e020806cd..5669091bbb8e 100644
--- a/onlineupdate/source/update/inc/mozilla/Assertions.h
+++ b/onlineupdate/source/update/inc/mozilla/Assertions.h
@@ -24,7 +24,7 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#ifdef WIN32
+#ifdef _WIN32
/*
* TerminateProcess and GetCurrentProcess are defined in <winbase.h>, which
* further depends on <windef.h>. We hardcode these few definitions manually
diff --git a/onlineupdate/source/update/inc/mozilla/Types.h b/onlineupdate/source/update/inc/mozilla/Types.h
index a5d936389d99..9d1e34b6d1d6 100644
--- a/onlineupdate/source/update/inc/mozilla/Types.h
+++ b/onlineupdate/source/update/inc/mozilla/Types.h
@@ -37,7 +37,7 @@
* These macros are designed for use by library interfaces -- not for normal
* methods or data used cross-file.
*/
-#if defined(WIN32)
+#if defined(_WIN32)
# define MOZ_EXPORT __declspec(dllexport)
#else /* Unix */
# ifdef HAVE_VISIBILITY_ATTRIBUTE