aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2014-10-12 18:51:52 -0700
committerLev Walkin <vlm@lionet.info>2014-10-12 18:51:52 -0700
commit327899574856571cefc8c0dbf96bf61843e19c70 (patch)
tree46e184262dbfce9315424dfcc1e001c80f99994b /asn1c
parenta7591b5c7fc4775fc12cc2e1b407ed436b298c73 (diff)
parentcab30af3eeee62d39f71f2fc1aeb302436fd3c7c (diff)
merged patch #31
Diffstat (limited to 'asn1c')
-rw-r--r--asn1c/sys-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/asn1c/sys-common.h b/asn1c/sys-common.h
index cac71c01..9ab1e6bb 100644
--- a/asn1c/sys-common.h
+++ b/asn1c/sys-common.h
@@ -64,7 +64,9 @@
#ifndef EX_OSFILE
#define EX_OSFILE 72
#endif
+#if defined HAVE_DECL_ALLOCA && !HAVE_DECL_ALLOCA
#define alloca _alloca
+#endif
#define snprintf _snprintf
#endif /* _WIN32 */