forked from mirrors/nixpkgs
fae6a45e92
On recent macOS the build fails with: ``` now.c:33:16: error: typedef redefinition with different types ('int' vs 'enum clockid_t') typedef int clockid_t; ^ /nix/store/4df4jhlj71vblmxhrr7dkkqpak8a42c8-Libsystem-1238.60.2/include/time.h:171:3: note: previous definition is here } clockid_t; ^ now.c:34:11: warning: 'CLOCK_REALTIME' macro redefined [-Wmacro-redefined] ^ /nix/store/4df4jhlj71vblmxhrr7dkkqpak8a42c8-Libsystem-1238.60.2/include/time.h:154:9: note: previous definition is here ^ now.c:35:11: warning: 'CLOCK_MONOTONIC' macro redefined [-Wmacro-redefined] ^ /nix/store/4df4jhlj71vblmxhrr7dkkqpak8a42c8-Libsystem-1238.60.2/include/time.h:156:9: note: previous definition is here ^ 2 warnings and 1 error generated. ``` |
||
---|---|---|
.. | ||
default.nix |