From f65eec188f1c8aa5512a2529a994d44fd7d2b6b7 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 1 Sep 2010 12:25:16 -0500 Subject: [svn-r19337] Change #ifndef _WIN32 to #ifdef H5_HAVE_UNISTD_H Tested: windows, heiwa and local linux --- hl/src/H5LTanalyze.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hl/src/H5LTanalyze.c b/hl/src/H5LTanalyze.c index 9e9eec2..767dfd7 100644 --- a/hl/src/H5LTanalyze.c +++ b/hl/src/H5LTanalyze.c @@ -15,8 +15,8 @@ /* * 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 - * Windows doesn't have unistd.h header file. + * Do NOT modify it by hand, but in line 52, "#ifdef H5_HAVE_UNISTD_H" should be added if + * the platform doesn't have the unistd.h header file. */ #define yy_create_buffer H5LTyy_create_buffer @@ -49,7 +49,7 @@ #define YY_FLEX_MINOR_VERSION 5 #include -#ifndef _WIN32 +#ifdef H5_HAVE_UNISTD_H #include #endif -- cgit v0.12