File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ CThunkObject *_ctypes_alloc_callback(PyObject *callable,
431
431
#pragma clang diagnostic push
432
432
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
433
433
#endif
434
- #if defined(__GNUC__ )
434
+ #if defined(__GNUC__ ) && (( __GNUC__ > 4 ) || (( __GNUC__ == 4 ) && ( __GNUC_MINOR__ > 5 )))
435
435
#pragma GCC diagnostic push
436
436
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
437
437
#endif
@@ -440,7 +440,7 @@ CThunkObject *_ctypes_alloc_callback(PyObject *callable,
440
440
#if defined(__clang__ ) || defined(MACOSX )
441
441
#pragma clang diagnostic pop
442
442
#endif
443
- #if defined(__GNUC__ )
443
+ #if defined(__GNUC__ ) && (( __GNUC__ > 4 ) || (( __GNUC__ == 4 ) && ( __GNUC_MINOR__ > 5 )))
444
444
#pragma GCC diagnostic pop
445
445
#endif
446
446
You can’t perform that action at this time.
0 commit comments