Ondřej Surý
dc4c0397eb
Use constexpr for NS_PER_SEC and friends constants
...
The contexpr introduced in C23 standard makes perfect sense to be used
instead of preprocessor macros - the symbols are kept, etc. Define
ISC_CONSTEXPR to be `constexpr` for C23 and `static const` for the older
C standards. Use the newly introduced macro for the NS_PER_SEC and
friends time constants.
(cherry picked from commit 122a142241 )
2024-08-19 09:10:04 +00:00
..
2024-08-19 09:10:04 +00:00
2024-08-07 15:16:50 +00:00
2023-08-21 18:39:53 +02:00
2023-03-29 10:47:53 +00:00
2023-05-12 14:16:25 +02:00
2023-07-28 08:59:08 +02:00
2023-03-29 10:47:53 +00:00
2023-03-08 22:40:03 +00:00
2023-08-31 22:08:35 +02:00
2023-06-14 13:12:45 +01:00
2023-04-03 12:05:28 +10:00
2023-09-12 16:17:06 +02:00
2024-08-15 12:09:28 +00:00
2023-08-31 22:08:35 +02:00
2024-01-03 17:04:31 +00:00
2023-12-13 22:27:38 +00:00
2024-02-11 09:36:56 +01:00
2024-05-15 12:22:10 +02:00
2023-09-01 12:01:20 +10:00
2023-09-05 09:39:41 +02:00
2024-02-08 10:54:35 +01:00
2023-08-21 18:39:53 +02:00
2023-09-12 16:17:06 +02:00
2024-08-15 14:27:29 +00:00
2023-05-12 20:48:31 +01:00
2024-05-09 08:17:44 +10:00
2024-06-05 09:19:56 +02:00
2023-09-06 00:28:56 +00:00
2024-08-05 11:39:30 +00:00
2024-07-31 07:30:35 +00:00
2024-08-05 09:13:07 +00:00
2024-05-17 16:03:21 -07:00
2023-10-17 17:47:46 +02:00
2023-03-31 12:52:59 +00:00
2024-04-23 13:11:52 +02:00
2023-08-21 18:39:53 +02:00
2023-12-06 15:15:24 +02:00
2023-07-28 08:59:08 +02:00
2023-10-13 14:44:40 +02:00
2023-04-27 12:38:53 +02:00
2023-09-24 10:08:56 +02:00
2023-09-07 19:46:19 +02:00
2023-08-21 18:39:53 +02:00
2023-03-31 09:52:54 +00:00
2024-06-03 18:34:31 +10:00
2024-05-10 12:08:52 +03:00
2023-08-15 12:21:41 +02:00
2024-08-19 09:10:04 +00:00
2023-08-31 22:08:35 +02:00
2023-07-28 08:59:08 +02:00
2023-09-16 07:32:17 +02:00
2024-08-19 09:10:04 +00:00
2024-04-02 10:35:56 +02:00
2024-08-07 15:25:29 +00:00
2023-04-03 10:25:56 +00:00
2023-10-17 17:47:46 +02:00
2023-06-27 12:38:09 +02:00
2023-04-27 12:38:53 +02:00
2024-04-18 10:53:31 +02:00