diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:14:26 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:14:26 +0000 |
commit | 92f665747e9d9aecac7c203e53d4eb175e662fc8 (patch) | |
tree | 343b938cade639d1cbcc09a9a00911f2789ee947 /config.h.pre | |
parent | 21ddc0a002b54301ac9de5f6dd73928ed0d73a94 (diff) | |
download | mandoc-92f665747e9d9aecac7c203e53d4eb175e662fc8.tar.gz |
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.pre | 6 |
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 |