Files
macports-ports/devel/zmq/files/patch-clock.hpp.diff

20 lines
514 B
Diff

# https://trac.macports.org/ticket/68213
--- a/src/clock.hpp 2023-08-27 04:19:35.000000000 +0700
+++ b/src/clock.hpp 2023-09-24 23:52:51.000000000 +0700
@@ -7,14 +7,6 @@
#include "stdint.hpp"
#if defined ZMQ_HAVE_OSX
-// TODO this is not required in this file, but condition_variable.hpp includes
-// clock.hpp to get these definitions
-#ifndef CLOCK_REALTIME
-#define CLOCK_REALTIME 0
-#endif
-#ifndef HAVE_CLOCK_GETTIME
-#define HAVE_CLOCK_GETTIME
-#endif
#include <mach/clock.h>
#include <mach/mach.h>