disable VS

This commit is contained in:
David Carlier authored and Ryan C. Gordon committed 2022-11-23 13:29:49 -05:00
1 parent 975ffaea77
commit d5572559a5
2 files changed
+7 -6

No files matched your search

+3 -2
View File
@@ -178,8 +178,9 @@
#ifndef SDL_MALLOC
#if defined(__GNUC__)
#define SDL_MALLOC __attribute__((malloc))
#elif defined(_MSC_VER)
#define SDL_MALLOC __declspec(allocator) __desclspec(restrict)
// FIXME
//#elif defined(_MSC_VER)
//#define SDL_MALLOC __declspec(allocator) __desclspec(restrict)
#else
#define SDL_MALLOC
#endif