From: Victor Julien Date: Tue, 27 Mar 2012 12:17:37 +0000 (+0200) Subject: Fix __WORDSIZE redeclaration warning on Windows builds. X-Git-Tag: suricata-1.3beta1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af4e48016335b7bd7b656b4989c8562a7b742c40;p=thirdparty%2Fsuricata.git Fix __WORDSIZE redeclaration warning on Windows builds. --- diff --git a/src/suricata-common.h b/src/suricata-common.h index f8e5885324..145b0c9bf2 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -155,8 +155,10 @@ #define __WORDSIZE LONG_BIT #endif #endif +#endif /** Windows does not define __WORDSIZE, but it uses __X86__ */ +#ifndef __WORDSIZE #if defined(__X86__) || defined(_X86_) #define __WORDSIZE 32 #else