From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Wasabi/bfc/common.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Src/Wasabi/bfc/common.h (limited to 'Src/Wasabi/bfc/common.h') diff --git a/Src/Wasabi/bfc/common.h b/Src/Wasabi/bfc/common.h new file mode 100644 index 00000000..305241b8 --- /dev/null +++ b/Src/Wasabi/bfc/common.h @@ -0,0 +1,23 @@ +#ifndef _COMMON_H +#define _COMMON_H + +#ifdef WIN32 +// disable "dll-interface to be used by clients of class" warning message. +#pragma warning(disable: 4251) +#endif /* WIN32 */ + +#ifdef COMEXP +#undef COMEXP +#endif +#define COMEXP + + +#ifndef __cplusplus +#define EXTC extern +#else +#define EXTC extern "C" +#endif + +#include + +#endif /* _COMMON_H */ -- cgit