shithub: dumb

Download patch

ref: 5ed52e609b8fc32e00cb46330a0c08d5f01a0ea5
parent: 6cb73ee3430f7ba10376286a06f28eeb2ed598a2
author: Andrew Thompson <andrew@hijacked.us>
date: Tue Apr 8 09:10:54 EDT 2014

Don't include the MSVC debug header if we aren't using MSVC

--- a/dumb/include/dumb.h
+++ b/dumb/include/dumb.h
@@ -25,8 +25,10 @@
 #include <stdio.h>
 
 #ifdef _DEBUG
+#ifdef _MSC_VER
 #define _CRTDBG_MAP_ALLOC
 #include <crtdbg.h>
+#endif
 #endif
 
 #ifdef __cplusplus