disable VS

This commit is contained in:
David Carlier 2022-09-04 16:21:20 +01:00 committed by Ryan C. Gordon
parent 975ffaea77
commit d5572559a5
2 changed files with 7 additions and 6 deletions

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