summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Common.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-06-13 13:42:26 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-06-13 13:42:26 (GMT)
commitd6602a2aab1dc00663bd64759f12935283b58076 (patch)
tree0dc8a7c705da22dc39939d23192e0f56639bc45d /src/uscxml/Common.h
parent07395f2766d70c55f51674dc3027d7b19a4ccc26 (diff)
downloaduscxml-d6602a2aab1dc00663bd64759f12935283b58076.zip
uscxml-d6602a2aab1dc00663bd64759f12935283b58076.tar.gz
uscxml-d6602a2aab1dc00663bd64759f12935283b58076.tar.bz2
Fixed issue84
Diffstat (limited to 'src/uscxml/Common.h')
-rw-r--r--src/uscxml/Common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uscxml/Common.h b/src/uscxml/Common.h
index c1029f1..d1f42c7 100644
--- a/src/uscxml/Common.h
+++ b/src/uscxml/Common.h
@@ -20,7 +20,9 @@
#ifndef COMMON_H_YZ3CIYP
#define COMMON_H_YZ3CIYP
+#ifndef _MSC_VER
#define ELPP_STACKTRACE_ON_CRASH 1
+#endif
#if __cplusplus >= 201402L
#define DEPRECATED [[deprecated]]
@@ -44,6 +46,8 @@
#endif
#ifdef _WIN32
+#define NOMINMAX
+
typedef unsigned __int32 uint32_t;
// see http://stackoverflow.com/questions/1372480/c-redefinition-header-files