#ifdef _WIN32 #pragma once #endif /// /// Precompiled header file. Place all system includes here with appropriate #defines for different operating systems and compilers. /// #define NOMINMAX #define WIN32_LEAN_AND_MEAN//Exclude rarely-used stuff from Windows headers. #define _USE_MATH_DEFINES #ifdef _WIN32 #pragma warning(disable : 4251; disable : 4661; disable : 4100) #include #include #include //For htons(). #include #include #include #else #include #include #define _TCHAR char #define _tmain main #define _T #endif #include #include #include #include #include #include #include #include #include #include "jconfig.h" #include "jpeglib.h" #define PNG_SKIP_SETJMP_CHECK 1 #include "png.h" //Ember. #include "Ember.h" #include "Variation.h" #include "EmberToXml.h" #include "XmlToEmber.h" #include "PaletteList.h" #include "Iterator.h" #include "Renderer.h" #include "RendererCL.h" #include "SheepTools.h" //Options. #include "SimpleGlob.h" #include "SimpleOpt.h" //Exr #ifdef _WIN32 #define OPENEXR_DLL 1 #endif #ifdef __APPLE__ #include #include #include #define ENUM_DYLD_BOOL #include #else #include #include #include #endif using namespace Imf; using namespace Imath; using namespace EmberNs; using namespace EmberCLns;