Skip to content

Commit 7b2d3c9

Browse files
committed
Delete a bunch of old unused defines
They are conflicting with minGW. Fixes #305
1 parent fd91008 commit 7b2d3c9

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

src/public/minbase/minbase_decls.h

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@
9999
#define SELECTANY static
100100
#endif
101101

102-
#undef DLL_EXPORT
103-
#undef DLL_IMPORT
104-
105102
#if defined(_WIN32) && !defined(_XBOX)
106103
#define PLAT_DECL_EXPORT __declspec( dllexport )
107104
#define PLAT_DECL_IMPORT __declspec( dllimport )
@@ -115,28 +112,6 @@
115112
#error "Unsupported Platform."
116113
#endif
117114

118-
#if defined(_XBOX)
119-
#define DLL_EXPORT extern
120-
#define DLL_IMPORT extern
121-
122-
#define DLL_CLASS_EXPORT
123-
#define DLL_CLASS_IMPORT
124-
125-
#define DLL_GLOBAL_EXPORT
126-
#define DLL_GLOBAL_IMPORT
127-
#else
128-
// Used for dll exporting and importing
129-
#define DLL_EXPORT extern "C" PLAT_DECL_EXPORT
130-
#define DLL_IMPORT extern "C" PLAT_DECL_IMPORT
131-
132-
// Can't use extern "C" when DLL exporting a class
133-
#define DLL_CLASS_EXPORT PLAT_DECL_EXPORT
134-
#define DLL_CLASS_IMPORT PLAT_DECL_IMPORT
135-
136-
#define DLL_GLOBAL_EXPORT PLAT_DECL_EXPORT
137-
#define DLL_GLOBAL_IMPORT extern PLAT_DECL_IMPORT
138-
#endif
139-
140115
#ifdef FASTCALL
141116
#undef FASTCALL
142117
#endif

0 commit comments

Comments
 (0)