]> git.sesse.net Git - casparcg/blobdiff - core/StdAfx.h
[polling_filesystem_monitor] Fixed bug where unallocated memory could be read by...
[casparcg] / core / StdAfx.h
index c7a2f310fc280487aab122a2032b012d7ad5d8d5..2173fffd7e3dfc8c81faada327054c08ad099991 100644 (file)
@@ -21,7 +21,7 @@
 
 #pragma once
 
-#ifdef _DEBUG
+#if defined _DEBUG && defined _MSC_VER
 #include <crtdbg.h>
 #endif
 
@@ -46,7 +46,6 @@
 #include <tbb/concurrent_unordered_map.h>
 
 #include <boost/circular_buffer.hpp>
-#include <boost/timer.hpp>
 #include <boost/filesystem.hpp>
 #include <boost/range.hpp>
 #include <boost/range/adaptors.hpp>
@@ -63,3 +62,4 @@
 
 #include <common/log.h>
 #include <common/except.h>
+#include <common/timer.h>