diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-08-06 19:05:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-08-06 19:05:20 (GMT) |
commit | e3c46f3eef3278b748df19a36db0529af1eb99aa (patch) | |
tree | 95759d7edae7483698bf701916b68070d0789069 | |
parent | e599638365d660d4e86917b2fddf05e2ef1be433 (diff) | |
download | hdf5-e3c46f3eef3278b748df19a36db0529af1eb99aa.zip hdf5-e3c46f3eef3278b748df19a36db0529af1eb99aa.tar.gz hdf5-e3c46f3eef3278b748df19a36db0529af1eb99aa.tar.bz2 |
[svn-r9037] Purpose:
Code cleanup/bug fix
Description:
Check for _O_BINARY being defined instead of O_BINARY, since we actually use
_O_BINARY. (Note that this only affects Windows)
Platforms tested:
FreeBSD 4.10 (sleipnir)
Not tested w/h5committest
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 71a92e0..d1fdf30 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -710,7 +710,7 @@ typedef struct stat h5_stat_t; #define HDmkfifo(S,M) mkfifo(S,M) #define HDmktime(T) mktime(T) #define HDmodf(X,Y) modf(X,Y) -#ifdef O_BINARY +#ifdef _O_BINARY #define HDopen(S,F,M) open(S,F|_O_BINARY,M) #else #define HDopen(S,F,M) open(S,F,M) |