diff options
author | Allen Winter <allen.winter@kdab.com> | 2022-06-03 13:08:19 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2022-06-03 13:08:19 -0400 |
commit | 4f22bbb2d1d1f3a7a218e2d8d363f94a071151c9 (patch) | |
tree | 8befa5870b70aec86b3f5d1d481a470bd456063e /config.h.cmake | |
parent | 32c14b2e448199d0a9de91e9844ef32abf9e4747 (diff) | |
download | libical-git-4f22bbb2d1d1f3a7a218e2d8d363f94a071151c9.tar.gz |
buildsystem - USE_64BIT_ICALTIME_T -> LIBICAL_ENABLE_64BIT_ICALTIME_T
namespace the cmake options
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.h.cmake b/config.h.cmake index 904cf704..f99a739d 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -525,8 +525,8 @@ typedef ssize_t IO_SSIZE_T; /* * Substitute functions for those from time.h but working with icaltime_t instead of time_t. */ -#cmakedefine USE_64BIT_ICALTIME_T 1 -#if (defined(USE_64BIT_ICALTIME_T) && (SIZEOF_TIME_T != 8)) +#cmakedefine LIBICAL_ENABLE_64BIT_ICALTIME_T 1 +#if (defined(LIBICAL_ENABLE_64BIT_ICALTIME_T) && (SIZEOF_TIME_T != 8)) #if defined(_MSC_VER) #define icaltime(timer) _time64(timer) #define icalctime(timer) _ctime64(timer) @@ -534,7 +534,7 @@ typedef ssize_t IO_SSIZE_T; #define icalgmtime_r(tp,tmp) (_gmtime64(tp)?(*(tmp)=*_gmtime64(tp),(tmp)):0) #define icallocaltime_r(tp,tmp) (_localtime64(tp)?(*(tmp)=*_localtime64(tp),(tmp)):0) #else -#error "This compiler is not supported together with the 'USE_64BIT_ICALTIME_T' option." +#error "This compiler is not supported together with the 'LIBICAL_ENABLE_64BIT_ICALTIME_T' option." #endif #else #define icaltime(timer) time(timer) |