mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Update pybind11.h
This commit is contained in:
parent
d0fc077d88
commit
317cf0feaf
@ -10,6 +10,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// Bug in MSVC 2022 requiring this file first
|
||||||
|
#if defined(_MSC_VER) && (_MSC_VER >= 1930)
|
||||||
|
#include <corecrt.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "attr.h"
|
#include "attr.h"
|
||||||
#include "gil.h"
|
#include "gil.h"
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
@ -33,10 +38,6 @@
|
|||||||
# define PYBIND11_HAS_STD_LAUNDER 0
|
# define PYBIND11_HAS_STD_LAUNDER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER >= 1930)
|
|
||||||
#include <corecrt.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__clang__)
|
#if defined(__GNUG__) && !defined(__clang__)
|
||||||
# include <cxxabi.h>
|
# include <cxxabi.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user