Skip to content
Snippets Groups Projects
Commit 839de4d0 authored by Ralph Giles's avatar Ralph Giles
Browse files

Remove the define check for __GNUC_PREREQ.

Our arch.h makes sure it's always defined. Thanks to derf
for the suggestion.
parent b4dd4eb7
No related branches found
No related tags found
No related merge requests found
......@@ -1168,7 +1168,7 @@ int test_repacketizer_api(void)
* handling in our codebase, and the lack of thread saftey isn't an
* issue here. We therefore disable the warning for this function.
*/
#if defined(__GNUC_PREREQ) && __GNUC_PREREQ(4,6)
#if __GNUC_PREREQ(4,6)
/* Save the current warning settings */
#pragma GCC diagnostic push
#endif
......@@ -1260,8 +1260,7 @@ int test_malloc_fail(void)
}
#ifdef MALLOC_FAIL
#if defined(__GNUC_PREREQ) && __GNUC_PREREQ(4,6)
/* Restore the previous warning settings */
#if __GNUC_PREREQ(4,6)
#pragma GCC diagnostic pop /* restore -Wdeprecated-declarations */
#endif
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment