diff --git a/include/pybind11/conduit/pybind11_platform_abi_id.h b/include/pybind11/conduit/pybind11_platform_abi_id.h index d1f22329a..1481d6e4d 100644 --- a/include/pybind11/conduit/pybind11_platform_abi_id.h +++ b/include/pybind11/conduit/pybind11_platform_abi_id.h @@ -29,7 +29,9 @@ # define PYBIND11_COMPILER_TYPE "_gcc_cygwin" # elif defined(_MSC_VER) # define PYBIND11_COMPILER_TYPE "_msvc" -# elif defined(__INTEL_COMPILER) || defined(__PGI) || defined(__clang__) || defined(__GNUC__) +# elif defined(__PGI) +# define PYBIND11_COMPILER_TYPE "_pgi" +# elif defined(__INTEL_COMPILER) || defined(__clang__) || defined(__GNUC__) # define PYBIND11_COMPILER_TYPE "_system" // Assumed compatible with system compiler. # else # error "Unknown PYBIND11_COMPILER_TYPE: PLEASE REVISE THIS CODE."