summaryrefslogtreecommitdiffstatshomepage
path: root/config.h.pre
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 17:14:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 17:14:26 +0000
commit73aca81b50073109b137bba659d38af11d7194ac (patch)
treedb3b28024b3493b57e793eb072a69c9da331b8da /config.h.pre
parent9702d475f59435139db2b0794a26dd69937fab7c (diff)
downloadmandoc-73aca81b50073109b137bba659d38af11d7194ac.tar.gz
mandoc-73aca81b50073109b137bba659d38af11d7194ac.tar.zst
mandoc-73aca81b50073109b137bba659d38af11d7194ac.zip
Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger.
Diffstat (limited to 'config.h.pre')
-rw-r--r--config.h.pre6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.pre b/config.h.pre
new file mode 100644
index 00000000..a309ed95
--- /dev/null
+++ b/config.h.pre
@@ -0,0 +1,6 @@
+#ifndef MANDOC_CONFIG_H
+#define MANDOC_CONFIG_H
+
+#if defined(__linux__) || defined(__MINT__)
+# define _GNU_SOURCE /* strptime(), getsubopt() */
+#endif