summaryrefslogtreecommitdiff
path: root/ACE/debian/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/debian/config.h')
-rw-r--r--ACE/debian/config.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/ACE/debian/config.h b/ACE/debian/config.h
new file mode 100644
index 00000000000..3b19ea9a58c
--- /dev/null
+++ b/ACE/debian/config.h
@@ -0,0 +1,29 @@
+// $Id$
+
+#ifndef ACE_CONFIG_H_INCLUDED
+#define ACE_CONFIG_H_INCLUDED
+#ifdef __FreeBSD_kernel__
+#include "config-kfreebsd.h"
+#else // assume linux
+/*
+ * Macros that were enabled in Debian are stored here.
+ *
+ * Rationale: those were captured in the generated libraries on
+ * compilation; hence the same values must be used when including
+ * ACE+TAO headers, to avoid unexpected results.
+ */
+#ifndef ACE_HAS_IPV6
+#define ACE_HAS_IPV6 1
+#endif
+
+#ifndef ACE_USES_IPV4_IPV6_MIGRATION
+#define ACE_USES_IPV4_IPV6_MIGRATION 1
+#endif
+
+#ifndef __ACE_INLINE__
+#define __ACE_INLINE__
+#endif
+
+#include "config-linux.h"
+#endif // __FreeBSD_version
+#endif /* ACE_CONFIG_H_INCLUDED */