summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/enable_execute_stack.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-10 01:02:16 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-10 01:02:16 +0000
commit40268af91e4a8cb2b7d1a90abc5453223fc54547 (patch)
treef52ee8148e48c0265f67a74af6051f2a58b23e62 /compiler-rt/lib/enable_execute_stack.c
parent2dbae9c334c4c250f16e105e5579b0c3f2f3fb22 (diff)
downloadbcm5719-llvm-40268af91e4a8cb2b7d1a90abc5453223fc54547.tar.gz
bcm5719-llvm-40268af91e4a8cb2b7d1a90abc5453223fc54547.zip
Temporary define HAVE_SYSCONF until cmake checks are done.
llvm-svn: 78546
Diffstat (limited to 'compiler-rt/lib/enable_execute_stack.c')
-rw-r--r--compiler-rt/lib/enable_execute_stack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/enable_execute_stack.c b/compiler-rt/lib/enable_execute_stack.c
index 07c1645ce76..b349d2f312b 100644
--- a/compiler-rt/lib/enable_execute_stack.c
+++ b/compiler-rt/lib/enable_execute_stack.c
@@ -13,7 +13,9 @@
/* #include "config.h"
* FIXME: CMake - include when cmake system is ready.
+ * Remove #define HAVE_SYSCONF 1 line.
*/
+#define HAVE_SYSCONF 1
#ifndef __APPLE__
#include <unistd.h>
OpenPOWER on IntegriCloud