diff --git a/src/hidapi/SDL_hidapi_libusb.h b/src/hidapi/SDL_hidapi_libusb.h index 5a54cbe11e..80ea0aff33 100644 --- a/src/hidapi/SDL_hidapi_libusb.h +++ b/src/hidapi/SDL_hidapi_libusb.h @@ -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") diff --git a/src/hidapi/SDL_hidapi_windows.h b/src/hidapi/SDL_hidapi_windows.h index eedad322ab..09604c67d6 100644 --- a/src/hidapi/SDL_hidapi_windows.h +++ b/src/hidapi/SDL_hidapi_windows.h @@ -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")