From 649715738e3ada24172f7ebb4d911baf30459c85 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 11 Sep 2004 23:03:36 +0000 Subject: 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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11972 f5534014-38df-0310-8fa8-9805f1628bb7 --- filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filters.c') diff --git a/filters.c b/filters.c index 2a695f1956..cd8d33f080 100644 --- a/filters.c +++ b/filters.c @@ -484,7 +484,7 @@ save_filter_list(filter_list_type_t list, char **pref_path_return, return; } -#ifdef WIN32 +#ifdef _WIN32 /* ANSI C doesn't say whether "rename()" removes the target if it exists; the Win32 call to rename files doesn't do so, which I infer is the reason why the MSVC++ "rename()" doesn't do so. -- cgit v1.2.3