mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-30 23:02:37 +00:00
Add PYBIND11_COMPILER_TYPE
emscripten
This commit is contained in:
parent
41daaa41fa
commit
e34dc8b511
@ -25,6 +25,8 @@
|
|||||||
# define PYBIND11_COMPILER_TYPE "msvc"
|
# define PYBIND11_COMPILER_TYPE "msvc"
|
||||||
# elif defined(__APPLE__)
|
# elif defined(__APPLE__)
|
||||||
# define PYBIND11_COMPILER_TYPE "macos"
|
# define PYBIND11_COMPILER_TYPE "macos"
|
||||||
|
# elif defined(__EMSCRIPTEN__)
|
||||||
|
# define PYBIND11_COMPILER_TYPE "emscripten"
|
||||||
# elif defined(__GLIBC__) || defined(_GLIBCXX_USE_CXX11_ABI)
|
# elif defined(__GLIBC__) || defined(_GLIBCXX_USE_CXX11_ABI)
|
||||||
# define PYBIND11_COMPILER_TYPE "glibc"
|
# define PYBIND11_COMPILER_TYPE "glibc"
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user