Fix Linux build.
This commit is contained in:
parent
eea2fce447
commit
c21fa98ba5
@ -136,12 +136,12 @@ MESSAGE(STATUS "Use thread library: ${CMAKE_THREAD_LIBS_INIT}")
|
||||
# configuration file
|
||||
INCLUDE(CheckIncludeFiles)
|
||||
|
||||
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
|
||||
CHECK_INCLUDE_FILES(stdarg.h HAVE_STDARG_H)
|
||||
CHECK_INCLUDE_FILES(signal.h HAVE_SIGNAL_H)
|
||||
CHECK_INCLUDE_FILES(execinfo.h HAVE_EXECINFO_H)
|
||||
CHECK_INCLUDE_FILES(malloc.h HAVE_MALLOC_H)
|
||||
CHECK_INCLUDE_FILES(dispatch/dispatch.h HAVE_DISPATCH_H)
|
||||
CHECK_INCLUDE_FILES("unistd.h" HAVE_UNISTD_H)
|
||||
CHECK_INCLUDE_FILES("stdarg.h" HAVE_STDARG_H)
|
||||
CHECK_INCLUDE_FILES("signal.h" HAVE_SIGNAL_H)
|
||||
CHECK_INCLUDE_FILES("execinfo.h" HAVE_EXECINFO_H)
|
||||
CHECK_INCLUDE_FILES("malloc.h" HAVE_MALLOC_H)
|
||||
CHECK_INCLUDE_FILES("dispatch/dispatch.h" HAVE_DISPATCH_H)
|
||||
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/nvconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/nvconfig.h)
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#error "Do not include this file directly."
|
||||
#endif
|
||||
|
||||
//#include <cstddef> // size_t, NULL
|
||||
#include <cstddef> // operator new, size_t, NULL
|
||||
|
||||
// Function linkage
|
||||
#define DLL_IMPORT
|
||||
|
Loading…
Reference in New Issue
Block a user