mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
added compiler support comment about #pragma push_macro/pop_macro.
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
*/
|
||||
|
||||
/* Define standard library functions in terms of SDL */
|
||||
|
||||
/* #pragma push_macro/pop_macro works correctly only as of gcc >= 4.4.3
|
||||
clang-3.0 _seems_ to be OK. */
|
||||
#pragma push_macro("malloc")
|
||||
#pragma push_macro("realloc")
|
||||
#pragma push_macro("free")
|
||||
|
@@ -20,6 +20,9 @@
|
||||
*/
|
||||
|
||||
/* Define standard library functions in terms of SDL */
|
||||
|
||||
/* #pragma push_macro/pop_macro works correctly only as of gcc >= 4.4.3
|
||||
clang-3.0 _seems_ to be OK. */
|
||||
#pragma push_macro("calloc")
|
||||
#pragma push_macro("free")
|
||||
#pragma push_macro("malloc")
|
||||
|
Reference in New Issue
Block a user