aosp12/bionic/tests/stdio_nofortify_test.cpp

13 lines
224 B
C++

#ifdef _FORTIFY_SOURCE
#undef _FORTIFY_SOURCE
#endif
#define NOFORTIFY
#include "stdio_test.cpp"
#if defined(_FORTIFY_SOURCE)
#error "_FORTIFY_SOURCE has been redefined, fix the code to remove this redefinition."
#endif