From e1790da88cb02dcc0764e58cc8b67afe9d8543a1 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 7 Mar 2018 13:08:29 -0800 Subject: Hack to fix ABI checking. Change-Id: I20f0fd8c7dc6f5276c19735025d719a2043c803a Reviewed-on: https://code.wireshark.org/review/26346 Reviewed-by: Guy Harris --- wsutil/win32-utils.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'wsutil/win32-utils.h') diff --git a/wsutil/win32-utils.h b/wsutil/win32-utils.h index 9a7658d2b6..6a84dd0fa0 100644 --- a/wsutil/win32-utils.h +++ b/wsutil/win32-utils.h @@ -11,6 +11,12 @@ #ifndef __WIN32UTIL_H__ #define __WIN32UTIL_H__ +/* + * This is included in ABI checking, so protect it with #ifdef _WIN32, + * so it doesn't break ABI checking on UN*X. + */ +#ifdef _WIN32 + #include "ws_symbol_export.h" #include @@ -62,4 +68,6 @@ const char * win32strexception(DWORD exception); } #endif +#endif /* _WIN32 */ + #endif /* __WIN32UTIL_H__ */ -- cgit v1.2.3