Simon Tatham
722c066c59
[libc] Make use of 32-bit time_t a config option ( #102012 )
...
The 32-bit Arm builds of libc define time_t to be `__INTPTR_TYPE__`,
i.e. a 32-bit integer. This is commented in the commit introducing it
(75398f28eb ) as being for compatibility with glibc. But in the near
future not even every AArch32 build of glibc will have a 32-bit time_t:
Debian is planning that their next release (trixie) will have switched
to 64-bit. And non-Linux builds of this libc (e.g. baremetal) have no
reason to need glibc compatibility in the first place – and every reason
_not_ to want to start using a 32-bit time_t in 2024 or later.
So I've replaced the `#ifdef` in `llvm-libc-types/time_t.h` with two
versions of the header file, chosen in `CMakeLists.txt` via a new
configuration option. This involved adding an extra parameter to the
cmake `add_header` function to specify different names for the header
file in the source and destination directories.
2024-08-08 16:36:05 +01:00
..
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-04-30 15:08:38 -07:00
2024-04-30 15:08:38 -07:00
2024-04-30 15:08:38 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-08-08 16:36:05 +01:00
2024-05-31 18:57:18 -07:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-04 15:55:01 +01:00
2024-02-28 12:53:56 -08:00
2024-07-22 12:06:03 -03:00
2024-07-22 12:06:03 -03:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-07-31 09:09:52 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-12 21:26:58 -07:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-04-17 09:31:29 -07:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-06-14 13:34:28 -07:00
2024-05-30 11:27:50 -07:00
2024-08-06 21:02:54 -07:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-07-12 19:36:13 -05:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-04-11 16:26:49 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-04-11 16:26:49 -07:00
2024-05-01 11:18:44 -07:00
2024-05-01 11:18:44 -07:00
2024-05-01 11:18:44 -07:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-03-22 08:24:08 -07:00
2024-03-22 08:24:08 -07:00
2024-08-05 14:52:14 -05:00
2024-03-22 08:24:08 -07:00
2024-03-22 08:24:08 -07:00
2024-03-22 08:24:08 -07:00
2024-07-19 09:26:55 -05:00
2024-03-22 08:24:08 -07:00
2024-03-22 08:24:08 -07:00
2024-03-22 08:24:08 -07:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-03-22 08:24:08 -07:00
2024-08-08 16:36:05 +01:00
2024-08-08 16:36:05 +01:00
2024-08-08 16:36:05 +01:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00
2024-02-28 12:53:56 -08:00