diff options
-rw-r--r-- | tools/lemon/lemon.c | 2 | ||||
-rw-r--r-- | wsutil/inet_v6defs.h | 2 | ||||
-rw-r--r-- | wsutil/type_util.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 26961660ef..d398d15a44 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -1389,7 +1389,7 @@ make_basename(char* fullname) /* Find the last forward slash */ cp = strrchr(fullname, '/'); -#ifdef WIN32 +#ifdef _WIN32 /* On Windows, if no forward slash was found, look ofr * backslash also */ if (!cp) diff --git a/wsutil/inet_v6defs.h b/wsutil/inet_v6defs.h index c6cfa8fdec..d6b6a9c1ac 100644 --- a/wsutil/inet_v6defs.h +++ b/wsutil/inet_v6defs.h @@ -34,7 +34,7 @@ * (without resorting to fragile link ordering tricks), we give our versions * of those functions Wireshark-specific names. */ -#ifdef WIN32 +#ifdef _WIN32 #define inet_pton ws_inet_pton #define inet_ntop ws_inet_ntop #endif diff --git a/wsutil/type_util.h b/wsutil/type_util.h index 576e2f62bd..5cd81fd514 100644 --- a/wsutil/type_util.h +++ b/wsutil/type_util.h @@ -37,13 +37,13 @@ * gstutils.h: Header for various utility functions * * GNU GPL v2 - * + * */ guint64 type_util_gdouble_to_guint64(gdouble value); -gdouble type_util_guint64_to_gdouble(guint64 value); +gdouble type_util_guint64_to_gdouble(guint64 value); -#ifdef WIN32 +#ifdef _WIN32 #define gdouble_to_guint64(value) type_util_gdouble_to_guint64(value) #define guint64_to_gdouble(value) type_util_guint64_to_gdouble(value) #else |