summaryrefslogtreecommitdiff
path: root/mach.h
blob: 5ac9a4e29fbb831ba2cfa6dc98589ffaf381b91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _MACH_H
#define _MACH_H

#include <time.h>
#include <mach/mach_time.h>

// there is no CLOCK_REALTIME or CLOCK_MONOTONIC on MacOS platform
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 0

// MacOS doesn't support the flag MSG_NOSIGNAL
#define MSG_NOSIGNAL SO_NOSIGPIPE

#endif