dep/reshadefx: Fix building on MacOS/Linux
This commit is contained in:
parent
8c638b4c78
commit
68eb32f963
|
@ -8,6 +8,7 @@
|
||||||
#include "effect_codegen.hpp"
|
#include "effect_codegen.hpp"
|
||||||
#include <cctype> // std::toupper
|
#include <cctype> // std::toupper
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <limits>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,11 @@
|
||||||
|
|
||||||
#include "effect_symbol_table.hpp"
|
#include "effect_symbol_table.hpp"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#ifndef __APPLE__
|
||||||
#include <malloc.h> // alloca
|
#include <malloc.h> // alloca
|
||||||
|
#else
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
#include <algorithm> // std::upper_bound, std::sort
|
#include <algorithm> // std::upper_bound, std::sort
|
||||||
#include <functional> // std::greater
|
#include <functional> // std::greater
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue