From bbc1cc9c5e6f47b98e30f1bbc039bc390922804e Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 14 Aug 2014 04:13:30 +0000 Subject: Cygwin support; from Yaakov Selkowitz, https://sourceforge.net/p/cygwin-ports/mdocml/ci/master/tree/ --- apropos_db.c | 6 +++--- mandocdb.c | 6 +++--- test-betoh64.c | 2 +- 3 files changed, 7 insertions(+), 7 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 * Copyright (c) 2011, 2014 Ingo Schwarze @@ -31,7 +31,7 @@ #if defined(__APPLE__) # include -#elif defined(__linux__) +#elif defined(__linux__) || defined(__CYGWIN__) # include #elif defined(__sun) # include @@ -39,7 +39,7 @@ # include #endif -#if defined(__linux__) || defined(__sun) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__sun) # include #else # include diff --git a/mandocdb.c b/mandocdb.c index 27047d14..c5b844e2 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.49.2.17 2014/08/11 00:31:13 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.49.2.18 2014/08/14 04:13:30 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011, 2012 Ingo Schwarze @@ -34,7 +34,7 @@ #if defined(__APPLE__) # include -#elif defined(__linux__) +#elif defined(__linux__) || defined(__CYGWIN__) # include #elif defined(__sun) # include @@ -43,7 +43,7 @@ # include #endif -#if defined(__linux__) || defined(__sun) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__sun) # include #else # include diff --git a/test-betoh64.c b/test-betoh64.c index d33f4017..90dc84fe 100644 --- a/test-betoh64.c +++ b/test-betoh64.c @@ -1,6 +1,6 @@ #include -#if defined(__linux__) +#if defined(__linux__) || defined(__CYGWIN__) # include #elif defined(__APPLE__) # include -- cgit v1.2.3-56-ge451