From bea1e576c5ef5500678f7ce913d835341b625e8f Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Mon, 14 Nov 2005 17:05:22 -0500 Subject: [svn-r11711] Purpose: Bug fix for Windows Description: Windows doesn't have unistd.h file. Solution: Put #ifdef H5_HAVE_UNISTD_H for #include. Platforms tested: fuss - simple change. --- hl/src/lex.yy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hl/src/lex.yy.c b/hl/src/lex.yy.c index 499f3bc..4917c21 100644 --- a/hl/src/lex.yy.c +++ b/hl/src/lex.yy.c @@ -23,8 +23,9 @@ #define YY_FLEX_MINOR_VERSION 5 #include +#ifdef H5_HAVE_UNISTD_H #include - +#endif /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ #ifdef c_plusplus -- cgit v0.12