forked from osmocom/wireshark
Use largefile detection in cmake.
Move wiretap/file_wrapper.c back to clean sources. svn path=/trunk/; revision=50825
This commit is contained in:
parent
1cbd49e61b
commit
812f308620
|
@ -562,6 +562,10 @@ if(ENABLE_PCAP_NG_DEFAULT)
|
|||
set(PCAP_NG_DEFAULT 1)
|
||||
endif()
|
||||
|
||||
# Large file support (e.g. make off_t 64 bit if supported)
|
||||
include(gmxTestLargeFiles)
|
||||
gmx_test_large_files(GMX_LARGEFILES)
|
||||
|
||||
#Platform specific
|
||||
#if(UNIX)
|
||||
#endif()
|
||||
|
|
|
@ -381,6 +381,12 @@
|
|||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#cmakedefine WORDS_BIGENDIAN 1
|
||||
|
||||
/* Large file support */
|
||||
#cmakedefine _LARGEFILE_SOURCE
|
||||
#cmakedefine _LARGEFILE64_SOURCE
|
||||
#cmakedefine _LARGE_FILES
|
||||
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
|
||||
|
||||
/* Define WS_MSVC_NORETURN appropriately for declarations of routines that
|
||||
never return (just like Charlie on the MTA).
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ set(CLEAN_FILES
|
|||
erf.c
|
||||
eyesdn.c
|
||||
file_access.c
|
||||
file_wrappers.c
|
||||
hcidump.c
|
||||
i4btrace.c
|
||||
ipfix.c
|
||||
|
@ -77,7 +78,6 @@ set(CLEAN_FILES
|
|||
)
|
||||
|
||||
set(DIRTY_FILES
|
||||
file_wrappers.c
|
||||
)
|
||||
|
||||
set(WIRETAP_FILES
|
||||
|
|
Loading…
Reference in New Issue