[svn-r11715] Purpose: Bug fix

Description:  The last checkin to add #ifdef H5_HAVE_UNISTD_H before #include<unistd.h>
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.
This commit is contained in:
Raymond Lu 2005-11-15 10:08:18 -05:00
parent a1708eb023
commit 2daa718b13

View File

@ -23,7 +23,7 @@
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
#ifdef H5_HAVE_UNISTD_H
#ifndef WIN32
#include <unistd.h>
#endif