summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Common.h
diff options
context:
space:
mode:
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