diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-11-15 15:08:18 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-11-15 15:08:18 (GMT) |
commit | 2daa718b13a33f170a8995942c8d6b84db75750f (patch) | |
tree | b31841a683aa20ff3fafd4cf1d15494cb6967813 /hl | |
parent | a1708eb023f2c8f8ac6c2c17bf1e598c8dff956e (diff) | |
download | hdf5-2daa718b13a33f170a8995942c8d6b84db75750f.zip hdf5-2daa718b13a33f170a8995942c8d6b84db75750f.tar.gz hdf5-2daa718b13a33f170a8995942c8d6b84db75750f.tar.bz2 |
[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.
Diffstat (limited to 'hl')
-rw-r--r-- | hl/src/lex.yy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <stdio.h> -#ifdef H5_HAVE_UNISTD_H +#ifndef WIN32 #include <unistd.h> #endif |