]> git.sesse.net Git - casparcg/blobdiff - core/StdAfx.h
[image_producer] refuse too large images nicely instead of letting OpenGL tell us...
[casparcg] / core / StdAfx.h
index cffcc2eb3b6c7a0a2ef9ceee9019143c56524b1e..2173fffd7e3dfc8c81faada327054c08ad099991 100644 (file)
@@ -21,7 +21,7 @@
 
 #pragma once
 
-#ifdef _DEBUG
+#if defined _DEBUG && defined _MSC_VER
 #include <crtdbg.h>
 #endif
 
@@ -46,9 +46,7 @@
 #include <tbb/concurrent_unordered_map.h>
 
 #include <boost/circular_buffer.hpp>
-#include <boost/timer.hpp>
 #include <boost/filesystem.hpp>
-#include <boost/foreach.hpp>
 #include <boost/range.hpp>
 #include <boost/range/adaptors.hpp>
 #include <boost/range/algorithm.hpp>
@@ -64,3 +62,4 @@
 
 #include <common/log.h>
 #include <common/except.h>
+#include <common/timer.h>