aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-11-13 05:09:35 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-11-13 05:09:35 +0000
commitbbccfff63a93cc3bb6194077c418181e619a4663 (patch)
tree1af8fd4ee3cb93e633fbef54751f86655d1a8ec9
parent55c3274824a1c37373c30098936372d639276689 (diff)
stdint only if not specifying types directly
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1396 59561ff5-6e30-0410-9f3c-9617f08c8826
-rw-r--r--skeletons/asn_system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/skeletons/asn_system.h b/skeletons/asn_system.h
index 193a9750..39a1f9e6 100644
--- a/skeletons/asn_system.h
+++ b/skeletons/asn_system.h
@@ -24,7 +24,6 @@
#ifdef WIN32
#include <malloc.h>
-#include <stdint.h>
#define snprintf _snprintf
#define vsnprintf _vsnprintf
@@ -52,6 +51,8 @@ typedef unsigned int uint32_t;
#define finite _finite
#define copysign _copysign
#define ilogb _logb
+#else /* !_MSC_VER */
+#include <stdint.h>
#endif /* _MSC_VER */
#else /* !WIN32 */