diff options
| author | manuel <manuel@mausz.at> | 2019-04-29 12:22:05 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2019-04-29 12:22:05 +0200 |
| commit | e317daf081a1048904fdf0b548946fa3ba6593a7 (patch) | |
| tree | 285a58fe8c6b4a95c9a6020afbe7bcc9cb913ea7 /cmake/scripts/common/ArchSetup.cmake | |
| parent | 483c0b88bfc1b798396c31a4dd2f5239399ce59e (diff) | |
| download | kodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.tar.gz kodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.tar.bz2 kodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.zip | |
sync with upstream
Diffstat (limited to 'cmake/scripts/common/ArchSetup.cmake')
| -rw-r--r-- | cmake/scripts/common/ArchSetup.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/scripts/common/ArchSetup.cmake b/cmake/scripts/common/ArchSetup.cmake index 4704193..07ce6d4 100644 --- a/cmake/scripts/common/ArchSetup.cmake +++ b/cmake/scripts/common/ArchSetup.cmake | |||
| @@ -122,6 +122,10 @@ check_function_exists(localtime_r HAVE_LOCALTIME_R) | |||
| 122 | if(HAVE_LOCALTIME_R) | 122 | if(HAVE_LOCALTIME_R) |
| 123 | list(APPEND SYSTEM_DEFINES -DHAVE_LOCALTIME_R=1) | 123 | list(APPEND SYSTEM_DEFINES -DHAVE_LOCALTIME_R=1) |
| 124 | endif() | 124 | endif() |
| 125 | check_function_exists(gmtime_r HAVE_GMTIME_R) | ||
| 126 | if(HAVE_GMTIME_R) | ||
| 127 | list(APPEND SYSTEM_DEFINES -DHAVE_GMTIME_R=1) | ||
| 128 | endif() | ||
| 125 | if(HAVE_INTTYPES_H) | 129 | if(HAVE_INTTYPES_H) |
| 126 | list(APPEND SYSTEM_DEFINES -DHAVE_INTTYPES_H=1) | 130 | list(APPEND SYSTEM_DEFINES -DHAVE_INTTYPES_H=1) |
| 127 | endif() | 131 | endif() |
