[vlc-commits] cachegen: use _WIN32 instead of WIN32
Steve Lhomme
git at videolan.org
Wed Aug 5 18:10:43 CEST 2015
vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Mon Aug 3 09:03:44 2015 +0200| [1c0fcde52bf6f8ca5074d8da0bc9dc7e012591b4] | committer: Rémi Denis-Courmont
cachegen: use _WIN32 instead of WIN32
--
that's what we use everywhere else
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c0fcde52bf6f8ca5074d8da0bc9dc7e012591b4
---
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[] =
More information about the vlc-commits
mailing list