view src/openscenegraph-2-static.patch @ 721:bc69ccf2503c

use explicitly "patch -u" to avoid warnings about guessing the patch type
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 11 Feb 2010 09:17:28 +0100
parents cd4bb34b43a2
children 1f5b2dfe8966
line wrap: on
line source

--- OpenSceneGraph-2.8.2.orig/src/osgPlugins/exr/ReaderWriterEXR.cpp	2008-11-27 10:36:18.000000000 +0100
+++ OpenSceneGraph-2.8.2/src/osgPlugins/exr/ReaderWriterEXR.cpp	2010-01-26 21:36:31.000000000 +0100
@@ -4,7 +4,7 @@
 #include <osg/Image>
 #include <osg/GL>
 
-#ifdef _WIN32
+#if defined _WIN32 && !defined OSG_LIBRARY_STATIC
 //Make the half format work against openEXR libs 
 #define OPENEXR_DLL
 #endif