@@ -65,7 +65,7 @@ namespace std{
using ::sprintf;
using ::sscanf;
using ::tmpfile;
-#if _GLIBCXX_USE_TMPNAM
+#ifdef _GLIBCXX_USE_TMPNAM
using ::tmpnam;
#endif
using ::ungetc;
@@ -39,13 +39,13 @@ namespace std{
_UCXXEXPORT void* operator new(std::size_t numBytes) _UCXX_THROW(std::bad_alloc);
_UCXXEXPORT void operator delete(void* ptr) _UCXX_USE_NOEXCEPT;
-#if __cpp_sized_deallocation
+#ifdef __cpp_sized_deallocation
_UCXXEXPORT void operator delete(void* ptr, std::size_t) _UCXX_USE_NOEXCEPT;
#endif
_UCXXEXPORT void* operator new[](std::size_t numBytes) _UCXX_THROW(std::bad_alloc);
_UCXXEXPORT void operator delete[](void * ptr) _UCXX_USE_NOEXCEPT;
-#if __cpp_sized_deallocation
+#ifdef __cpp_sized_deallocation
_UCXXEXPORT void operator delete[](void * ptr, std::size_t) _UCXX_USE_NOEXCEPT;
#endif
Throws -Wundef warning in modern compilers. Signed-off-by: Rosen Penev <rosenp@gmail.com> --- include/cstdio | 2 +- include/new | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)