summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/defaults.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/defaults.h')
-rw-r--r--contrib/gcc/defaults.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/defaults.h b/contrib/gcc/defaults.h
index 8e1e1ec6..c6f8a43 100644
--- a/contrib/gcc/defaults.h
+++ b/contrib/gcc/defaults.h
@@ -462,4 +462,10 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define MODE_BASE_REG_CLASS(MODE) BASE_REG_CLASS
#endif
+/* Determine whether __cxa_atexit, rather than atexit, is used to
+ register C++ destructors for local statics and global objects. */
+#ifndef DEFAULT_USE_CXA_ATEXIT
+#define DEFAULT_USE_CXA_ATEXIT 0
+#endif
+
#endif /* ! GCC_DEFAULTS_H */
OpenPOWER on IntegriCloud