mirror of
https://github.com/crioux/turbo-linecount.git
synced 2024-10-27 17:24:01 +00:00
portability work
This commit is contained in:
parent
2d27fc56e6
commit
912019210d
@ -9,7 +9,7 @@ ELSE()
|
|||||||
FIND_PACKAGE (Threads REQUIRED)
|
FIND_PACKAGE (Threads REQUIRED)
|
||||||
SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
SET(CMAKE_C_FLAGS_RELEASE "-O3")
|
SET(CMAKE_C_FLAGS_RELEASE "-O3")
|
||||||
ADD_DEFINITIONS(-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64)
|
ADD_DEFINITIONS(-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
ADD_LIBRARY (linecount SHARED src/turbo_linecount.cpp src/turbo_linecount.h)
|
ADD_LIBRARY (linecount SHARED src/turbo_linecount.cpp src/turbo_linecount.h)
|
||||||
|
@ -185,4 +185,4 @@ int main(int argc, char **argv)
|
|||||||
_tprintf(_T(TLC_LINECOUNT_FMT "\n"), count);
|
_tprintf(_T(TLC_LINECOUNT_FMT "\n"), count);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user