summaryrefslogtreecommitdiff
path: root/ace/config-qnx-rtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/config-qnx-rtp.h')
-rw-r--r--ace/config-qnx-rtp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/config-qnx-rtp.h b/ace/config-qnx-rtp.h
index 65e55ac13d1..9d8d855641f 100644
--- a/ace/config-qnx-rtp.h
+++ b/ace/config-qnx-rtp.h
@@ -59,7 +59,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