projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb3efc
)
Excluded crtdbg.h from non-MSVC compilation (#5401)
author
Tiger Caldwell
<tiger@caldwellfive.com>
Thu, 13 Jun 2019 09:58:40 +0000
(
02:58
-0700)
committer
Wouter van Oortmerssen
<aardappel@gmail.com>
Thu, 13 Jun 2019 09:58:40 +0000
(11:58 +0200)
src/util.cpp
patch
|
blob
|
history
diff --git
a/src/util.cpp
b/src/util.cpp
index
cd44ee7
..
cfa3f8b
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-23,7
+23,9
@@
# ifndef NOMINMAX
# define NOMINMAX
# endif
-# include <crtdbg.h>
+# ifdef _MSC_VER
+# include <crtdbg.h>
+# endif
# include <windows.h> // Must be included before <direct.h>
# include <direct.h>
# include <winbase.h>