Skip to content

Commit

Permalink
squash! use <set> on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Mar 15, 2019
1 parent 668ba1a commit 54c268e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@

#include <stdint.h>
#include <vector>

#ifdef __APPLE__
#include <set>
#define unordered_set set
#else
#include <unordered_set>
#endif

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

0 comments on commit 54c268e

Please sign in to comment.