mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 04:38:30 +00:00
disable VS
This commit is contained in:
parent
975ffaea77
commit
d5572559a5
2 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue