Commit 1c0fcde5 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

cachegen: use _WIN32 instead of WIN32

--
that's what we use everywhere else
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 26ba8294
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#ifdef HAVE_GETOPT_H #ifdef HAVE_GETOPT_H
# include <getopt.h> # include <getopt.h>
#endif #endif
#ifdef WIN32 #ifdef _WIN32
# include <windows.h> # include <windows.h>
#endif #endif
...@@ -48,7 +48,7 @@ static void usage (const char *path) ...@@ -48,7 +48,7 @@ static void usage (const char *path)
int main (int argc, char *argv[]) int main (int argc, char *argv[])
{ {
#ifdef WIN32 #ifdef _WIN32
SetErrorMode(SEM_FAILCRITICALERRORS); SetErrorMode(SEM_FAILCRITICALERRORS);
#endif #endif
static const struct option opts[] = static const struct option opts[] =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment