summaryrefslogtreecommitdiff
path: root/ace/config-qnx-neutrino.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/config-qnx-neutrino.h')
-rw-r--r--ace/config-qnx-neutrino.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/config-qnx-neutrino.h b/ace/config-qnx-neutrino.h
index 560e00f175a..78a0fecc63c 100644
--- a/ace/config-qnx-neutrino.h
+++ b/ace/config-qnx-neutrino.h
@@ -52,7 +52,10 @@
#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
#define ACE_HAS_ALLOCA_H
#define ACE_HAS_AUTOMATIC_INIT_FINI
#define ACE_HAS_CLOCK_GETTIME