aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/font_utils.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-09-11 23:03:36 +0000
committerGuy Harris <guy@alum.mit.edu>2004-09-11 23:03:36 +0000
commitf23f4ecf04d8b01ad4990dd2b15c675263590f7b (patch)
tree340e3e52f4aa5df1448894b7c025a4c433a1cadc /gtk/font_utils.c
parentacdc9439b3761ffac87a7aef738f3d3881bc7347 (diff)
Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is. svn path=/trunk/; revision=11972
Diffstat (limited to 'gtk/font_utils.c')
-rw-r--r--gtk/font_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/font_utils.c b/gtk/font_utils.c
index 1b263f8aae..056e2d6701 100644
--- a/gtk/font_utils.c
+++ b/gtk/font_utils.c
@@ -33,7 +33,7 @@
#include <epan/packet.h>
-#ifdef WIN32
+#ifdef _WIN32
#include <windows.h>
#endif
@@ -572,7 +572,7 @@ user_font_apply(void) {
}
-#ifdef WIN32
+#ifdef _WIN32
#define NAME_BUFFER_LEN 32
@@ -712,7 +712,7 @@ static void try_to_get_windows_font_gtk2(void)
}
#endif /* GTK_MAJOR_VERSION */
-#endif /* WIN32 */
+#endif /* _WIN32 */
void font_init(void)
@@ -721,7 +721,7 @@ void font_init(void)
gchar *bold_font_name;
#endif
-#ifdef WIN32
+#ifdef _WIN32
#if GTK_MAJOR_VERSION >= 2
/* try to load the application font for GTK2 */
try_to_get_windows_font_gtk2();