[svn-r19336] Change #ifndef _WIN32 to #ifdef H5_HAVE_UNISTD_H

Tested: windows and local linux
This commit is contained in:
Allen Byrne 2010-09-01 11:54:48 -05:00
parent 949e87b814
commit 27154caa19

View File

@ -15,8 +15,8 @@
/* /*
* This file was generated by Lex with the command "lex -PH5LTyy -oH5LTanalyze.c H5LTanalyze.l". * This file was generated by Lex with the command "lex -PH5LTyy -oH5LTanalyze.c H5LTanalyze.l".
* Do NOT modify it by hand, but in line 52, "#ifndef _WIN32" should be added because * Do NOT modify it by hand, but in line 52, "#ifdef H5_HAVE_UNISTD_H" should be added if
* Windows doesn't have unistd.h header file. * the platform doesn't have the unistd.h header file.
*/ */
#define yy_create_buffer H5LTyy_create_buffer #define yy_create_buffer H5LTyy_create_buffer
@ -49,7 +49,7 @@
#define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_MINOR_VERSION 5
#include <stdio.h> #include <stdio.h>
#ifndef _WIN32 #ifdef H5_HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif