From af4e48016335b7bd7b656b4989c8562a7b742c40 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 27 Mar 2012 14:17:37 +0200 Subject: [PATCH] Fix __WORDSIZE redeclaration warning on Windows builds. --- src/suricata-common.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.2