yuanyuanxiang and deepseek-flash
4456467c50
Fix(client): build on macOS after the pthread_t cast
...
The macOS client failed to compile at client/IOCPClient.cpp:788:
static_cast from 'pthread_t' (aka '_opaque_pthread_t *') to 'uintptr_t'
is not allowed. Darwin defines pthread_t as a pointer, while Linux and
Android define it as an integer, so routing it through uintptr_t refused
to build there.
On POSIX the stored value is only a non-null "a worker thread exists"
marker: CloseHandle and SAFE_CLOSE_HANDLE are no-ops, and nothing ever
dereferences it. reinterpret_cast<HANDLE> accepts both shapes — integer
to pointer on Linux/Android, pointer to pointer on macOS — so the same
line now compiles everywhere. IOCPUDPClient.cpp had the identical cast
and got the same one-line change; it is not in any current build list,
but it would hit the same error if it were.
Verified with a green Linux client rebuild (integral pthread_t). Not yet
built on a real Mac.
Co-Authored-By: deepseek-flash
2026-11-14 12:19:44 +01:00
..
2026-04-19 22:55:21 +02:00
2026-10-25 14:05:25 +01:00
2026-06-05 00:05:13 +02:00
2026-04-19 22:55:21 +02:00
2026-10-05 10:41:04 +02:00
2026-08-15 11:09:14 +02:00
2026-08-15 11:09:14 +02:00
2026-08-21 19:50:11 +02:00
2026-04-19 22:55:21 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-06-06 13:02:29 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-13 17:05:37 +02:00
2026-04-19 22:55:21 +02:00
2026-05-30 00:12:38 +02:00
2026-05-30 00:12:38 +02:00
2026-10-30 11:04:44 +01:00
2026-05-30 00:12:38 +02:00
2026-10-23 11:19:21 +02:00
2026-10-25 14:57:47 +01:00
2026-10-04 19:55:29 +02:00
2026-04-19 22:55:21 +02:00
2026-10-30 17:22:36 +01:00
2026-11-01 20:40:02 +01:00
2026-11-01 20:40:02 +01:00
2026-04-19 22:55:21 +02:00
2026-11-13 16:47:53 +01:00
2026-11-02 14:01:39 +01:00
2026-07-13 19:02:25 +02:00
2026-07-13 19:02:25 +02:00
2026-04-19 22:55:21 +02:00
2026-11-10 15:09:24 +01:00
2026-11-10 15:09:24 +01:00
2026-10-20 21:15:45 +02:00
2026-10-04 18:23:06 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-05-09 23:13:24 +02:00
2026-11-01 20:40:02 +01:00
2026-10-05 10:52:58 +02:00
2026-10-05 10:52:58 +02:00
2026-04-19 22:55:21 +02:00
2026-11-01 20:40:02 +01:00
2026-11-01 20:40:02 +01:00
2026-11-07 14:11:47 +01:00
2026-11-04 14:47:40 +01:00
2026-04-19 22:55:21 +02:00
2026-10-25 17:59:17 +01:00
2026-10-25 17:59:17 +01:00
2026-11-01 20:40:02 +01:00
2026-11-01 20:40:02 +01:00
2026-04-19 22:55:21 +02:00
2026-10-23 11:19:21 +02:00
2026-04-19 22:55:21 +02:00
2026-11-14 12:19:44 +01:00
2026-11-14 11:43:30 +01:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-11-14 12:19:44 +01:00
2026-04-19 22:55:21 +02:00
2026-11-13 16:47:53 +01:00
2026-10-30 22:36:01 +01:00
2026-10-25 02:22:17 +02:00
2026-06-05 00:05:13 +02:00
2026-05-06 19:29:02 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-11-08 21:49:20 +01:00
2026-11-01 20:40:02 +01:00
2026-11-10 15:09:24 +01:00
2026-10-20 21:48:13 +02:00
2026-11-06 17:17:18 +01:00
2026-10-30 22:36:01 +01:00
2026-10-30 22:36:01 +01:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-05-11 20:22:07 +02:00
2026-10-20 13:12:16 +02:00
2026-10-20 13:12:16 +02:00
2026-10-25 17:59:17 +01:00
2026-06-05 00:05:13 +02:00
2026-10-25 17:59:17 +01:00
2026-10-25 17:59:17 +01:00
2026-04-19 22:55:21 +02:00
2026-10-04 19:55:29 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-11-10 08:21:55 +01:00
2026-11-08 20:44:49 +01:00
2026-11-10 08:21:55 +01:00
2026-11-09 18:11:37 +01:00
2026-11-10 16:34:10 +01:00
2026-11-10 16:34:10 +01:00
2026-11-10 08:21:55 +01:00
2026-11-10 08:21:55 +01:00
2026-10-31 18:24:54 +01:00
2026-04-19 22:55:21 +02:00
2026-10-25 17:59:17 +01:00
2026-10-25 17:59:17 +01:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-06-29 22:49:30 +02:00
2026-06-29 22:49:30 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-08-21 19:50:11 +02:00
2026-06-05 00:05:13 +02:00
2026-05-08 12:39:59 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-11-10 15:09:24 +01:00
2026-06-05 00:05:13 +02:00
2026-10-23 12:22:44 +02:00
2026-10-23 12:22:44 +02:00
2026-06-05 00:05:13 +02:00
2026-10-30 23:39:05 +01:00
2026-06-29 22:49:30 +02:00
2026-04-19 22:55:21 +02:00
2026-10-31 18:24:54 +01:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-11-01 20:40:02 +01:00
2026-11-14 11:43:30 +01:00
2026-11-14 11:43:30 +01:00
2026-04-19 22:55:21 +02:00
2026-11-04 14:47:40 +01:00
2026-10-13 17:05:37 +02:00
2026-10-13 17:05:37 +02:00
2026-10-30 19:15:14 +01:00
2026-11-07 14:11:47 +01:00
2026-11-04 14:47:40 +01:00
2026-10-04 21:03:03 +02:00