Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-03-12 16:37:05 +0300
committerTon Roosendaal <ton@blender.org>2005-03-12 16:37:05 +0300
commitd3202c5fcc55365fbe757e2b15927ab858195558 (patch)
tree31ed5d369d13c06d09122842d0079292a04df050 /source/blender/imbuf
parent4aeaa7a7a2c90d7676765eec2555dddd6f434821 (diff)
Added a #ifdef WITH_OPENEXR around this entire file. It doesn't compile for
Makefiles otherwise...
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/openexr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/openexr.cpp b/source/blender/imbuf/intern/openexr.cpp
index 96c897715d8..44b198d4403 100644
--- a/source/blender/imbuf/intern/openexr.cpp
+++ b/source/blender/imbuf/intern/openexr.cpp
@@ -29,6 +29,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*
*/
+
+#ifdef WITH_OPENEXR
+
#include <stdlib.h>
#include <stdio.h>
#include <string>
@@ -390,3 +393,5 @@ extern "C"
}
} // export "C"
+
+#endif // #ifdef WITH_OPENEXR