shithub: dumb

Download patch

ref: 8c6f27a159f53fbf7a622dfd3ac59bb1df23d206
parent: 6cb73ee3430f7ba10376286a06f28eeb2ed598a2
parent: 5ed52e609b8fc32e00cb46330a0c08d5f01a0ea5
author: Chris Moeller <kode54@gmail.com>
date: Tue Apr 8 11:10:19 EDT 2014

Merge pull request #6 from Vagabond/adt-unix-debug

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