diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bb7a851..2746db7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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) diff --git a/src/nvcore/DefsGnucLinux.h b/src/nvcore/DefsGnucLinux.h index 1451232..15cfffc 100644 --- a/src/nvcore/DefsGnucLinux.h +++ b/src/nvcore/DefsGnucLinux.h @@ -2,7 +2,7 @@ #error "Do not include this file directly." #endif -//#include // size_t, NULL +#include // operator new, size_t, NULL // Function linkage #define DLL_IMPORT