mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r20335] Remove unused windows defines. Add _CONSOLE to windows definitions.
This commit is contained in:
parent
aa668a4f64
commit
378dc5ec28
@ -300,6 +300,7 @@ IF (WIN32)
|
||||
IF (NOT CYGWIN)
|
||||
ADD_DEFINITIONS (-DBIND_TO_CURRENT_VCLIBS_VERSION=1)
|
||||
ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
|
||||
ADD_DEFINITIONS (-D_CONSOLE)
|
||||
ENDIF (NOT CYGWIN)
|
||||
ENDIF (WIN32)
|
||||
|
||||
|
@ -29,14 +29,6 @@
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
#if defined(MSDOS) || defined(OS2) || defined(_WIN32)
|
||||
# include <fcntl.h>
|
||||
# include <io.h>
|
||||
# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
||||
#else
|
||||
# define SET_BINARY_MODE(file) /* nothing */
|
||||
#endif /* MSDOS || OS2 || _WIN32 */
|
||||
|
||||
#ifdef VMS
|
||||
# define unlink delete
|
||||
# define GZ_SUFFIX "-gz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user