mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r11711] Purpose: Bug fix for Windows
Description: Windows doesn't have unistd.h file. Solution: Put #ifdef H5_HAVE_UNISTD_H for #include<unistd.h>. Platforms tested: fuss - simple change.
This commit is contained in:
parent
485edae92b
commit
bea1e576c5
@ -23,8 +23,9 @@
|
||||
#define YY_FLEX_MINOR_VERSION 5
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef H5_HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
||||
#endif
|
||||
|
||||
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
|
||||
#ifdef c_plusplus
|
||||
|
Loading…
Reference in New Issue
Block a user