Skip to content

Commit 28092a8

Browse files
committed
MacOS attempt
1 parent dc15ba2 commit 28092a8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/compiler-support.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Compiler Compatibility CI
33
on:
44
push:
55
branches: [master]
6-
#pull_request:
6+
pull_request:
77

88
jobs:
99
build:

src/io_engine_generic_unix.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#ifndef _WIN32
22
#include "io_engine_generic_unix.h"
33

4+
#ifdef __APPLE__
5+
#define _DARWIN_C_SOURCE
6+
#endif
7+
48
#include <cstring>
59

610
#include <fcntl.h>

0 commit comments

Comments
 (0)