added compiler support comment about #pragma push_macro/pop_macro.

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

No files matched your search

+3
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")
+3
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")