Hack to fix ABI checking.

Change-Id: I20f0fd8c7dc6f5276c19735025d719a2043c803a
Reviewed-on: https://code.wireshark.org/review/26346
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-03-07 13:08:29 -08:00
parent 1592587e6f
commit e1790da88c
1 changed files with 8 additions and 0 deletions

View File

@ -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 <glib.h>
@ -62,4 +68,6 @@ const char * win32strexception(DWORD exception);
}
#endif
#endif /* _WIN32 */
#endif /* __WIN32UTIL_H__ */