From: Michael Wetherell Date: Tue, 2 Oct 2007 14:56:09 +0000 (+0000) Subject: Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile with X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/53e372c281e6780adc282d30e7e55c094e1b0e49 Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile with -Wundef. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index 32bf79fd92..fc9d5cf084 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -29,6 +29,10 @@ #pragma warn -8022 #endif +#ifndef CPPUNIT_STD_NEED_ALLOCATOR + #define CPPUNIT_STD_NEED_ALLOCATOR 0 +#endif + /////////////////////////////////////////////////////////////////////////////// // Set the default format for the errors, which can be used by an IDE to jump // to the error location. This default gets overridden by the cppunit headers