mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-18 20:18:59 +00:00
added compiler support comment about #pragma push_macro/pop_macro.
This commit is contained in:
parent
5fcd70578b
commit
0c862d9a55
2 changed files with 6 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue