From 525f597d642729d4d8b5d2b80620e75e27e6bd0f Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 4 Jan 2019 17:18:07 +1100 Subject: [PATCH] cxx: define _FILE_OFFSET_BITS=64 --- nc_cxx.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nc_cxx.cmake b/nc_cxx.cmake index f2d6c0b..5d9f279 100644 --- a/nc_cxx.cmake +++ b/nc_cxx.cmake @@ -75,3 +75,5 @@ append_compile_flag("-fno-deduce-init-list") append_compile_flag("-fvisibility=hidden") append_compile_flag("-D__STDC_FORMAT_MACROS") + +add_definitions("-D_FILE_OFFSET_BITS=64")