mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
parent
a1708eb023
commit
2daa718b13
@ -23,7 +23,7 @@
|
||||
#define YY_FLEX_MINOR_VERSION 5
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef H5_HAVE_UNISTD_H
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user