File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ if (MSVC)
516516endif ()
517517
518518if (${CMAKE_C_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_C_COMPILER_ID} STREQUAL "Clang" )
519- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -W -Wall -Wnonnull -Wshadow -Wformat -Wundef -Wno-unused-parameter -Wmissing-prototypes -Wno-unknown-pragmas -D_GNU_SOURCE -std=c99" )
519+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -W -Wall -Wnonnull -Wshadow -Wformat -Wundef -Wno-unused-parameter -Wmissing-prototypes -Wno-unknown-pragmas -Wno-int-conversion - D_GNU_SOURCE -std=c99" )
520520endif ()
521521if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" )
522522 add_link_options (-lkvm -lm -lprocstat )
Original file line number Diff line number Diff line change 5656#include "memusage.h"
5757#include "bfind.h"
5858
59- #if defined(OS_LINUX )
59+ #if defined(OS_LINUX ) || defined( __FreeBSD__ ) || defined( OS_SOLARIS )
6060static int read_common_sizet (void * szp , char * strval )
6161{
6262 char * end ;
You can’t perform that action at this time.
0 commit comments