diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-14 04:13:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-14 04:13:30 +0000 |
commit | bbc1cc9c5e6f47b98e30f1bbc039bc390922804e (patch) | |
tree | 5c0a431384bc9570aaca25d67d18d19c004c047b /apropos_db.c | |
parent | 65e93d2bb2b1e6e21c88c607d011bc98f80b975f (diff) | |
download | mandoc-bbc1cc9c5e6f47b98e30f1bbc039bc390922804e.tar.gz mandoc-bbc1cc9c5e6f47b98e30f1bbc039bc390922804e.tar.zst mandoc-bbc1cc9c5e6f47b98e30f1bbc039bc390922804e.zip |
Cygwin support; from Yaakov Selkowitz,
https://sourceforge.net/p/cygwin-ports/mdocml/ci/master/tree/
Diffstat (limited to 'apropos_db.c')
-rw-r--r-- | apropos_db.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apropos_db.c b/apropos_db.c index 125d0aa0..00570663 100644 --- a/apropos_db.c +++ b/apropos_db.c @@ -1,4 +1,4 @@ -/* $Id: apropos_db.c,v 1.32.2.7 2014/08/11 00:31:13 schwarze Exp $ */ +/* $Id: apropos_db.c,v 1.32.2.8 2014/08/14 04:13:30 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -31,7 +31,7 @@ #if defined(__APPLE__) # include <libkern/OSByteOrder.h> -#elif defined(__linux__) +#elif defined(__linux__) || defined(__CYGWIN__) # include <endian.h> #elif defined(__sun) # include <sys/byteorder.h> @@ -39,7 +39,7 @@ # include <sys/endian.h> #endif -#if defined(__linux__) || defined(__sun) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__sun) # include <db_185.h> #else # include <db.h> |