mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r4102] Purpose:
Code cleanup Description: File driver macros were defined in this file, instead of the file driver source file. Solution: Removed redundant file driver information, which is already in each file driver source file. Platforms tested: FreeBSD 4.3 (hawkwind)
This commit is contained in:
parent
f9f0de7aa0
commit
2457f15317
@ -170,36 +170,6 @@ MS doesn't recognize it yet (as of April 2001)
|
||||
|
||||
#endif /*WIN32*/
|
||||
|
||||
/*
|
||||
* This driver supports systems that have the lseek64() function by defining
|
||||
* some macros here so we don't have to have conditional compilations later
|
||||
* throughout the code.
|
||||
*
|
||||
* file_offset_t: The datatype for file offsets, the second argument of
|
||||
* the lseek() or lseek64() call.
|
||||
*
|
||||
* file_seek: The function which adjusts the current file position,
|
||||
* either lseek() or lseek64().
|
||||
*
|
||||
* adding for windows NT file system support.
|
||||
*/
|
||||
|
||||
#ifdef H5_HAVE_LSEEK64
|
||||
# define file_offset_t off64_t
|
||||
# define file_seek lseek64
|
||||
#elif defined (WIN32)
|
||||
# ifdef __MWERKS__
|
||||
# define file_offset_t off_t
|
||||
# define file_seek lseek
|
||||
# else /*MSVC*/
|
||||
# define file_offset_t __int64
|
||||
# define file_seek _lseeki64
|
||||
# endif
|
||||
#else
|
||||
# define file_offset_t off_t
|
||||
# define file_seek lseek
|
||||
#endif
|
||||
|
||||
#ifndef F_OK
|
||||
# define F_OK 00
|
||||
# define W_OK 02
|
||||
|
Loading…
x
Reference in New Issue
Block a user