From 2daa718b13a33f170a8995942c8d6b84db75750f Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Tue, 15 Nov 2005 10:08:18 -0500 Subject: [svn-r11715] Purpose: Bug fix Description: The last checkin to add #ifdef H5_HAVE_UNISTD_H before #include didn't work because no hdf5 library header file have been included in that stage. Solution: Changed it to #ifndef WIN32. Platforms tested: sleipnir g++ where the complaint happened. --- hl/src/lex.yy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hl/src/lex.yy.c b/hl/src/lex.yy.c index 4917c21..74213dd 100644 --- a/hl/src/lex.yy.c +++ b/hl/src/lex.yy.c @@ -23,7 +23,7 @@ #define YY_FLEX_MINOR_VERSION 5 #include -#ifdef H5_HAVE_UNISTD_H +#ifndef WIN32 #include #endif -- cgit v0.12