diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-22 21:53:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-22 21:53:30 (GMT) |
commit | bc4828f90a5a5c1fabe322af5a538aa31a104f84 (patch) | |
tree | 33267af46297f24ec057ccda1a8603021107e41a /src | |
parent | d7e3f64c25ee57d5b5b198eaab0ae56c183b1d55 (diff) | |
download | hdf5-bc4828f90a5a5c1fabe322af5a538aa31a104f84.zip hdf5-bc4828f90a5a5c1fabe322af5a538aa31a104f84.tar.gz hdf5-bc4828f90a5a5c1fabe322af5a538aa31a104f84.tar.bz2 |
[svn-r4068] Purpose:
Code cleanup...
Description:
Added support for Windows to mkdir macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index 93fbb1d..8d69949 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -631,7 +631,11 @@ __DLL__ int HDfprintf (FILE *stream, const char *fmt, ...); #define HDmemcpy(X,Y,Z) memcpy((char*)(X),(const char*)(Y),Z) #define HDmemmove(X,Y,Z) memmove((char*)(X),(const char*)(Y),Z) #define HDmemset(X,C,Z) memset(X,C,Z) +#ifdef WIN32 +#define HDmkdir(S,M) _mkdir(S) +#else /* WIN32 */ #define HDmkdir(S,M) mkdir(S,M) +#endif /* WIN32 */ #define HDmkfifo(S,M) mkfifo(S,M) #define HDmktime(T) mktime(T) #define HDmodf(X,Y) modf(X,Y) |