fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / cppunit / wundef.patch
blob5f701cd702d111dfd8c5bc76f536600cada4ab0a
1 --- misc/cppunit-1.13.1/include/cppunit/Portability.h 2012-09-24 19:10:36.000000000 +0200
2 +++ misc/build/cppunit-1.13.1/include/cppunit/Portability.h 2013-03-18 14:23:48.880718714 +0100
3 @@ -68,6 +68,9 @@
4 * std::allocator. On some compilers, you may need to change this to
5 * std::allocator<T>.
6 */
7 +#ifndef CPPUNIT_STD_NEED_ALLOCATOR /* avoid -Wundef warning */
8 +#define CPPUNIT_STD_NEED_ALLOCATOR 0
9 +#endif
10 #if CPPUNIT_STD_NEED_ALLOCATOR
11 # if !defined(CPPUNIT_STD_ALLOCATOR)
12 # define CPPUNIT_STD_ALLOCATOR std::allocator