[svn-r21481] Add option to enable windows stdio

This commit is contained in:
Allen Byrne 2011-10-06 14:25:13 -05:00
parent 07d7090609
commit 1f115749c4

View File

@ -249,6 +249,16 @@ IF (WIN32 AND NOT CYGWIN)
OPTION (HDF_LEGACY_NAMING "Use Legacy Names for Libraries and Programs" OFF)
ENDIF (WIN32 AND NOT CYGWIN)
#-----------------------------------------------------------------------------
# Option to enable use of stdio instead of posix io
#-----------------------------------------------------------------------------
IF (WIN32)
OPTION (HDF5_ENABLE_WINDOWS_STDIO "Enable use of stdio instead of posix io" OFF)
IF (HDF5_ENABLE_WINDOWS_STDIO)
SET (H5_WINDOWS_USE_STDIO 1)
ENDIF (HDF5_ENABLE_WINDOWS_STDIO)
ENDIF (WIN32)
#-----------------------------------------------------------------------------
# Option to Build Shared/Static libs, default is static
#-----------------------------------------------------------------------------