mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-07 10:19:57 +08:00
experimental/variant for Apple compilers.
This commit is contained in:
parent
96142889e0
commit
c1f36d44f2
@ -45,7 +45,7 @@ matrix:
|
|||||||
env: CLANG_VER="5.0"
|
env: CLANG_VER="5.0"
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
#sx_image: xcode10
|
osx_image: xcode10
|
||||||
env: CLANG_VER="5.0" CMAKE_OPTIONS="-D DYNLOAD_ENABLED:BOOL=FALSE -D MULTITHREAD_SUPPORT_ENABLED:BOOL=FALSE -D USE_STD_MAKE_SHARED:BOOL=TRUE" BUILD_ONLY=1
|
env: CLANG_VER="5.0" CMAKE_OPTIONS="-D DYNLOAD_ENABLED:BOOL=FALSE -D MULTITHREAD_SUPPORT_ENABLED:BOOL=FALSE -D USE_STD_MAKE_SHARED:BOOL=TRUE" BUILD_ONLY=1
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
@ -18,7 +18,12 @@
|
|||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <variant>
|
#ifdef __APPLE__
|
||||||
|
#include <experimental/variant>
|
||||||
|
#else
|
||||||
|
#include <variant>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../chaiscript_defines.hpp"
|
#include "../chaiscript_defines.hpp"
|
||||||
#include "quick_flat_map.hpp"
|
#include "quick_flat_map.hpp"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user