diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-09-11 23:03:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-09-11 23:03:36 +0000 |
commit | f23f4ecf04d8b01ad4990dd2b15c675263590f7b (patch) | |
tree | 340e3e52f4aa5df1448894b7c025a4c433a1cadc /disabled_protos.c | |
parent | acdc9439b3761ffac87a7aef738f3d3881bc7347 (diff) | |
download | wireshark-f23f4ecf04d8b01ad4990dd2b15c675263590f7b.tar.gz wireshark-f23f4ecf04d8b01ad4990dd2b15c675263590f7b.tar.bz2 wireshark-f23f4ecf04d8b01ad4990dd2b15c675263590f7b.zip |
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 'disabled_protos.c')
-rw-r--r-- | disabled_protos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disabled_protos.c b/disabled_protos.c index e50adab9ef..4ccbe45e24 100644 --- a/disabled_protos.c +++ b/disabled_protos.c @@ -366,7 +366,7 @@ save_disabled_protos_list(char **pref_path_return, int *errno_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. |