Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
---
 src/cppunit/PlugInManager.cpp | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/cppunit/PlugInManager.cpp b/src/cppunit/PlugInManager.cpp
index 4f8b371..0ebe4c5 100644
--- a/src/cppunit/PlugInManager.cpp
+++ b/src/cppunit/PlugInManager.cpp
@@ -1,6 +1,10 @@
 #include <cppunit/config/SourcePrefix.h>
 #include <cppunit/XmlOutputterHook.h>
-#include <stdint.h>
+#include <cppunit/config-auto.h>
+
+#ifdef CPPUNIT_HAVE_STDINT_H
+    #include <stdint.h>
+#endif
 
 #if !defined(CPPUNIT_NO_TESTPLUGIN)
 #include <cppunit/extensions/TestFactoryRegistry.h>
@@ -8,6 +12,9 @@
 #include <cppunit/plugin/TestPlugIn.h>
 #include <cppunit/plugin/DynamicLibraryManager.h>
 
+#ifndef CPPUNIT_HAVE_STDINT_H
+    typedef unsigned int* uintptr_t;
+#endif
 
 CPPUNIT_NS_BEGIN
 
-- 
1.8.3.2


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.