Enable NativeFileStream under Linux by default
It is supposed to work and libstdc++'s __gnu_cxx::stdio_filebuf is available anyways. Maybe sendfile() can be used at some point with this to speed up Tag Editor.
This commit is contained in:
parent
3947504a63
commit
014127e4c4
|
@ -121,7 +121,7 @@ use_iconv(AUTO_LINKAGE REQUIRED)
|
||||||
|
|
||||||
# configure use of native file buffer and its backend implementation if enabled
|
# configure use of native file buffer and its backend implementation if enabled
|
||||||
set(USE_NATIVE_FILE_BUFFER_BY_DEFAULT OFF)
|
set(USE_NATIVE_FILE_BUFFER_BY_DEFAULT OFF)
|
||||||
if (WIN32 OR ANDROID)
|
if (WIN32 OR ANDROID OR (UNIX AND NOT APPLE))
|
||||||
set(USE_NATIVE_FILE_BUFFER_BY_DEFAULT ON)
|
set(USE_NATIVE_FILE_BUFFER_BY_DEFAULT ON)
|
||||||
endif ()
|
endif ()
|
||||||
option(USE_NATIVE_FILE_BUFFER "enables use of native file buffer, affects ABI" ${USE_NATIVE_FILE_BUFFER_BY_DEFAULT})
|
option(USE_NATIVE_FILE_BUFFER "enables use of native file buffer, affects ABI" ${USE_NATIVE_FILE_BUFFER_BY_DEFAULT})
|
||||||
|
|
Loading…
Reference in New Issue