[vlc-devel] [PATCH] cachegen: use _WIN32 instead of WIN32

Steve Lhomme robux4 at gmail.com
Mon Aug 3 09:03:44 CEST 2015


--
that's what we use everywhere else
---
 bin/cachegen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/cachegen.c b/bin/cachegen.c
index 25ea925..12c9fc5 100644
--- a/bin/cachegen.c
+++ b/bin/cachegen.c
@@ -29,7 +29,7 @@
 #ifdef HAVE_GETOPT_H
 # include <getopt.h>
 #endif
-#ifdef WIN32
+#ifdef _WIN32
 # include <windows.h>
 #endif
 
@@ -48,7 +48,7 @@ static void usage (const char *path)
 
 int main (int argc, char *argv[])
 {
-#ifdef WIN32
+#ifdef _WIN32
     SetErrorMode(SEM_FAILCRITICALERRORS);
 #endif
     static const struct option opts[] =
-- 
2.4.2




More information about the vlc-devel mailing list