Skip to content

Commit 54c268e

Browse files
author
Gabriel Schulhof
committed
squash! use <set> on OSX
1 parent 668ba1a commit 54c268e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/env.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717

1818
#include <stdint.h>
1919
#include <vector>
20+
21+
#ifdef __APPLE__
22+
#include <set>
23+
#define unordered_set set
24+
#else
2025
#include <unordered_set>
26+
#endif
2127

2228
// Caveat emptor: we're going slightly crazy with macros here but the end
2329
// hopefully justifies the means. We have a lot of per-context properties

0 commit comments

Comments
 (0)