summaryrefslogtreecommitdiff
path: root/src/libstrongswan/AndroidConfigLocal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/AndroidConfigLocal.h')
-rw-r--r--src/libstrongswan/AndroidConfigLocal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstrongswan/AndroidConfigLocal.h b/src/libstrongswan/AndroidConfigLocal.h
new file mode 100644
index 000000000..a6da3276a
--- /dev/null
+++ b/src/libstrongswan/AndroidConfigLocal.h
@@ -0,0 +1,9 @@
+/* stuff defined in AndroidConfig.h, which is included using the -include
+ * command-line option, thus cannot be undefined using -U CFLAGS options.
+ * the reason we have to undefine these flags in the first place, is that
+ * AndroidConfig.h defines them as 0, which in turn means that they are
+ * actually defined. */
+
+#undef HAVE_BACKTRACE
+#undef HAVE_DLADDR
+