]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/cppunit.h
SourceFormat Enforcement
[thirdparty/squid.git] / compat / cppunit.h
index 4ae60b66e4f96f8cc622107549fe21b05c99cae5..ff5fc566178f2836ace3dbb49c520d6974ee923b 100644 (file)
@@ -1,8 +1,17 @@
+/*
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #ifndef SQUID_COMPAT_CPPUNIT_H
 #define SQUID_COMPAT_CPPUNIT_H
 
 // CPPUNIT test suite uses auto_ptr which is deprecated in C++0x
 
+#if HAVE_CPPUNIT_EXTENSIONS_HELPERMACROS_H
 #if defined(__cplusplus) && HAVE_UNIQUE_PTR
 #include <cppunit/extensions/HelperMacros.h>
 
@@ -27,7 +36,7 @@
   private: /* dummy typedef so that the macro can still end with ';'*/         \
     typedef int CppUnitDummyTypedefForSemiColonEnding__
 
-
 #endif /* HAVE_UNIQUE_PTR */
-
+#endif /* HAVE_CPPUNIT_EXTENSIONS_HELPERMACROS_H */
 #endif /* SQUID_COMPAT_CPPUNIT_H */
+