summaryrefslogtreecommitdiff
path: root/libartbase/base/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'libartbase/base/macros.h')
-rw-r--r--libartbase/base/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libartbase/base/macros.h b/libartbase/base/macros.h
index eec73cb699..13e87d770d 100644
--- a/libartbase/base/macros.h
+++ b/libartbase/base/macros.h
@@ -75,6 +75,8 @@ template<typename T> ART_FRIEND_TEST(test_set_name, individual_test)
#define FLATTEN __attribute__ ((flatten))
#endif
+#define NO_STACK_PROTECTOR __attribute__ ((no_stack_protector))
+
// clang doesn't like attributes on lambda functions. It would be nice to say:
// #define ALWAYS_INLINE_LAMBDA ALWAYS_INLINE
#define ALWAYS_INLINE_LAMBDA