mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-21 20:55:11 +00:00
Update pybind11.h
This commit is contained in:
parent
d0fc077d88
commit
317cf0feaf
@ -10,6 +10,11 @@
|
||||
|
||||
#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 "gil.h"
|
||||
#include "options.h"
|
||||
@ -33,10 +38,6 @@
|
||||
# define PYBIND11_HAS_STD_LAUNDER 0
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1930)
|
||||
#include <corecrt.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GNUG__) && !defined(__clang__)
|
||||
# include <cxxabi.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user