浏览代码

Port TIME_WITH_SYS_TIME to CMake.

This resolves FTBFS from commit 05dc8500dd.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
feat/fix-suspend-code
Slávek Banko 11 个月前
父节点
当前提交
98abb9e8ee
签署人:: Slávek Banko <slavek.banko@axis.cz> GPG 密钥 ID: 608F5293A04BE668
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. +1
    -0
      ConfigureChecks.cmake
  2. +1
    -0
      config.h.cmake

+ 1
- 0
ConfigureChecks.cmake 查看文件

@@ -70,6 +70,7 @@ endif( )
# sys/time.h (tdeioslave/sftp, ksmserver, ksplashml)
if( BUILD_KSMSERVER OR BUILD_KSPLASHML OR BUILD_TDEIOSLAVES)
check_include_file( sys/time.h HAVE_SYS_TIME_H )
check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME )
endif( )



+ 1
- 0
config.h.cmake 查看文件

@@ -52,6 +52,7 @@

// tdeioslave/sftp, ksmserver, ksplashml
#cmakedefine HAVE_SYS_TIME_H 1
#cmakedefine TIME_WITH_SYS_TIME 1

// drkonqi
#cmakedefine HAVE_STDINT_H 1

正在加载...
取消
保存