summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTanalyze.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-09-04 02:57:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-09-04 02:57:04 (GMT)
commitd68991eec0cbb459422bb09017c6215259f57fff (patch)
tree8373b5879f02777c8e46a56c476098d9d07936da /hl/src/H5LTanalyze.c
parent1a119d500af81e3e0a121943443e916dc11f1aba (diff)
downloadhdf5-d68991eec0cbb459422bb09017c6215259f57fff.zip
hdf5-d68991eec0cbb459422bb09017c6215259f57fff.tar.gz
hdf5-d68991eec0cbb459422bb09017c6215259f57fff.tar.bz2
[svn-r19350] Description:
Bring r19328:19349 from trunk to revise_chunks branch. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committest not needed on this branch)
Diffstat (limited to 'hl/src/H5LTanalyze.c')
-rw-r--r--hl/src/H5LTanalyze.c6
1 files 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 <stdio.h>
-#ifndef _WIN32
+#ifdef H5_HAVE_UNISTD_H
#include <unistd.h>
#endif