From e34dc8b511d9f4dba0d128f9cf043f23fd155894 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 5 Dec 2024 16:13:38 -0800 Subject: [PATCH] Add `PYBIND11_COMPILER_TYPE` `emscripten` --- include/pybind11/conduit/pybind11_platform_abi_id.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pybind11/conduit/pybind11_platform_abi_id.h b/include/pybind11/conduit/pybind11_platform_abi_id.h index 69492b48ce..35524d9d89 100644 --- a/include/pybind11/conduit/pybind11_platform_abi_id.h +++ b/include/pybind11/conduit/pybind11_platform_abi_id.h @@ -25,6 +25,8 @@ # define PYBIND11_COMPILER_TYPE "msvc" # elif defined(__APPLE__) # define PYBIND11_COMPILER_TYPE "macos" +# elif defined(__EMSCRIPTEN__) +# define PYBIND11_COMPILER_TYPE "emscripten" # elif defined(__GLIBC__) || defined(_GLIBCXX_USE_CXX11_ABI) # define PYBIND11_COMPILER_TYPE "glibc" # else