From 8aaedda982405ef72025859b8ffe971f54a3638d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 26 Jun 2009 16:52:27 +0000 Subject: [PATCH] Changed the definition of HAVE_CONFIG_H so that it's only defined when on a now windows system, so to allow the dcmtk/osconfig.h to include the correct header on unix vs widows. --- src/osgPlugins/dicom/ReaderWriterDICOM.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/osgPlugins/dicom/ReaderWriterDICOM.cpp b/src/osgPlugins/dicom/ReaderWriterDICOM.cpp index 6167cde4f..0ea905969 100644 --- a/src/osgPlugins/dicom/ReaderWriterDICOM.cpp +++ b/src/osgPlugins/dicom/ReaderWriterDICOM.cpp @@ -19,7 +19,10 @@ #include #ifdef USE_DCMTK - #define HAVE_CONFIG_H + #ifndef _WIN32 + #define HAVE_CONFIG_H + #endif + #include #include #include