[MacPorts] #68308: legacy-support clock update resulted in a bug: /opt/local/include/LegacySupport/time.h:83:27: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'?
MacPorts
noreply at macports.org
Sun Oct 1 11:28:39 UTC 2023
#68308: legacy-support clock update resulted in a bug:
/opt/local/include/LegacySupport/time.h:83:27: error: unknown type name
'clockid_t'; did you mean 'clock_id_t'?
-----------------------------+----------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: legacy-support |
-----------------------------+----------------------
Comment (by barracuda156):
But removing defines works fine for me:
```
--- src/civetweb.c.orig 2023-10-01 02:51:01.000000000 +0800
+++ src/civetweb.c 2023-10-01 19:22:44.000000000 +0800
@@ -361,9 +361,6 @@
#endif
#endif
-#define CLOCK_MONOTONIC (1)
-#define CLOCK_REALTIME (2)
-
#include <mach/clock.h>
#include <mach/mach.h>
#include <mach/mach_time.h>
```
--
Ticket URL: <https://trac.macports.org/ticket/68308#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list