From 32e785f81320342058bbee95f84095cd55449c09 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 2 Sep 2015 14:35:37 -0700 Subject: The official #define for 32-bit and 64-bit Windows is _WIN32. It's _WIN32, with a leading underscore, not WIN32. See, for example: https://sourceforge.net/p/predef/wiki/OperatingSystems/ and https://msdn.microsoft.com/en-us/library/b0084kay.aspx *Some* environments may also define WIN32, but we shouldn't depend on that. Replace all-caps "WIN32" referring to Windows in comments and other text with "Windows" or "Win32". (The two are pretty much equivalent, these days; nobody much cares about Win16, not that we ever ran on it, and 64-bit Windows is just a 64-bitified Win32.) Change-Id: Id327bcd4b1e9baa4f27055eff08c2d9e594d6f70 Reviewed-on: https://code.wireshark.org/review/10367 Petri-Dish: Guy Harris Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- capture_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capture_opts.h') diff --git a/capture_opts.h b/capture_opts.h index 4d99cc759c..58efc54ef0 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -212,7 +212,7 @@ typedef struct link_row_tag { gint dlt; } link_row; -#ifdef WIN32 +#ifdef _WIN32 #define INVALID_EXTCAP_PID INVALID_HANDLE_VALUE #else #define INVALID_EXTCAP_PID (GPid)-1 -- cgit v1.2.3