diff options
| author | fanquake <[email protected]> | 2020-02-29 17:54:04 +0800 |
|---|---|---|
| committer | fanquake <[email protected]> | 2020-02-29 18:08:11 +0800 |
| commit | 715dbbe9e8b64fd4b556a0b0720b44d68c3b5e32 (patch) | |
| tree | 7a8e130e623ef2e95f5e49b4654d1a2f83826090 | |
| parent | Merge #18225: util: Fail to parse empty string in ParseMoney (diff) | |
| parent | Drop unused mach time headers (diff) | |
| download | discoin-715dbbe9e8b64fd4b556a0b0720b44d68c3b5e32.tar.xz discoin-715dbbe9e8b64fd4b556a0b0720b44d68c3b5e32.zip | |
Merge #18229: random: drop unused MACH time headers
d36146009fb3fc9b9a772823b4df139a85173481 Drop unused mach time headers (Ben Woosley)
Pull request description:
Now that we're no longer special-casing clock usage for MacOS (see #17800), we're
not referencing anything defined in these headers.
Incidentally, this removes our last reference to the `__MACH__` system def. 🎉
ACKs for top commit:
jonasschnelli:
utACK d36146009fb3fc9b9a772823b4df139a85173481
fanquake:
ACK d36146009fb3fc9b9a772823b4df139a85173481 - thanks.
Tree-SHA512: 246045b0683a705ad034416e8ace2024e652026a6c0517b6797320e52fc18a6e111ec2e405ca40653bd1d6421bb7755232e8fec22651fff8e448eb7d5646a954
| -rw-r--r-- | src/randomenv.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/randomenv.cpp b/src/randomenv.cpp index 27f5b1b08..8b3d47852 100644 --- a/src/randomenv.cpp +++ b/src/randomenv.cpp @@ -38,11 +38,6 @@ #include <sys/utsname.h> #include <unistd.h> #endif -#ifdef __MACH__ -#include <mach/clock.h> -#include <mach/mach.h> -#include <mach/mach_time.h> -#endif #if HAVE_DECL_GETIFADDRS #include <ifaddrs.h> #endif |