Author: chromatic
Date: Fri Dec 5 00:17:37 2008
New Revision: 33502
Modified:
trunk/config/gen/config_h/feature_h.in
Log:
[config] Added #define for __USE_GNU when building Parrot with GNU libc
backtrace() support. I'm not completely convinced this will work on Mac OS X,
but we can refine it further if necessary. See RT #58670, reported by
Christoph Otto.
Modified: trunk/config/gen/config_h/feature_h.in
==============================================================================
--- trunk/config/gen/config_h/feature_h.in (original)
+++ trunk/config/gen/config_h/feature_h.in Fri Dec 5 00:17:37 2008
@@ -1,6 +1,4 @@
-/*
- * feature.h - arch specific defines resulting from some tests
- */
+/* feature.h - arch specific defines resulting from some tests */
#ifndef PARROT_FEATURE_H_GUARD
@@ -147,6 +145,7 @@
if (defined @backtrace@) {
print OUT <<"END_PRINT";
#define PARROT_HAS_BACKTRACE
+#define __USE_GNU
END_PRINT
}