Use common test for large files support.

Drop hardcoded definition -D_LARGEFILE64_SOURCE=1.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ebf0115af1)
v3.5.13-sru
Slávek Banko 6 years ago
parent 91931f112d
commit c43ecb347b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -144,6 +144,8 @@ endif( NO_BUILTIN )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
tde_setup_largefiles( )
tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/libltdl )
check_include_file( "ltdl.h" HAVE_LTDL_H )
if( NOT HAVE_LTDL_H )

@ -9,10 +9,6 @@
#
#################################################
add_definitions(
-D_LARGEFILE64_SOURCE=1
)
add_subdirectory( kssl )
add_subdirectory( kio )
add_subdirectory( bookmarks )

@ -17,10 +17,6 @@ add_subdirectory( kfile )
add_subdirectory( kwalletd )
add_subdirectory( kntlm )
add_definitions(
-D_LARGEFILE64_SOURCE
)
include_directories(
${TQT_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}

@ -9,10 +9,6 @@
#
#################################################
add_definitions(
-D_LARGEFILE64_SOURCE
)
include_directories(
${TQT_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}

Loading…
Cancel
Save