Browse Source

SDL_malloc: don't define FORCEINLINE

The FORCEINLINE macro is also used by Windows SDK headers.
When it is an empty macro, FORCEINLINE-d functions will
get global visibility error and cause duplicate symbol link errors.

HRESULT_FROM_WIN32 is such a function.
Anonymous Maarten 3 months ago
parent
commit
62bc2c4c92
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/stdlib/SDL_malloc.c

+ 0 - 1
src/stdlib/SDL_malloc.c

@@ -28,7 +28,6 @@
 #define LACKS_STRINGS_H
 #define LACKS_STRING_H
 #define LACKS_STDLIB_H
-#define FORCEINLINE
 #define ABORT
 #define NO_MALLOC_STATS 1
 #define USE_LOCKS 1