all repos — mgba @ 98d2671c6d90e662b50e676921ef431dc0b20979

mGBA Game Boy Advance Emulator

Util: Removed broken dllexport symbol
Arves100 arves100@gmail.com
Fri, 21 Jun 2019 00:21:25 +0200
commit

98d2671c6d90e662b50e676921ef431dc0b20979

parent

c9c80df43370f39acfbfb25ac4d5b9a62ab25d79

1 files changed, 0 insertions(+), 1 deletions(-)

jump to
M include/mgba-util/common.hinclude/mgba-util/common.h

@@ -222,7 +222,6 @@ // Adapted from https://stackoverflow.com/a/2390626

#define _CONSTRUCTOR(FN, PRE) \ static void FN(void); \ __declspec(allocate(".CRT$XCU")) void (*_CONSTRUCTOR_ ## FN)(void) = FN; \ - __pragma(comment(linker,"/include:" PRE "_CONSTRUCTOR_" #FN)) \ static void FN(void) #ifdef _WIN64 #define CONSTRUCTOR(FN) _CONSTRUCTOR(FN, "")