added compiler support comment about #pragma push_macro/pop_macro.

This commit is contained in:
Ozkan Sezer
2023-06-03 17:23:40 +03:00
parent 5fcd70578b
commit 0c862d9a55
2 changed files with 6 additions and 0 deletions

View File

@@ -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")

View File

@@ -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")