mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 07:02:15 +00:00
pyconfig.h must be included before any system header (as per Python docs; essential for Python 2.3 under Tru64 Unix)
[SVN r17799]
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#ifndef CONFIG_DWA052200_H_
|
||||
# define CONFIG_DWA052200_H_
|
||||
|
||||
# include <pyconfig.h>
|
||||
# include <boost/config.hpp>
|
||||
|
||||
# ifdef BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
// Python's LongObject.h helpfully #defines ULONGLONG_MAX for us,
|
||||
// which confuses Boost's config
|
||||
//
|
||||
#include <pyconfig.h>
|
||||
#include <limits.h>
|
||||
#ifndef ULONG_MAX
|
||||
# define BOOST_PYTHON_ULONG_MAX_UNDEFINED
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
#ifndef HAS_BACK_REFERENCE_DWA2002323_HPP
|
||||
# define HAS_BACK_REFERENCE_DWA2002323_HPP
|
||||
|
||||
#include <pyconfig.h>
|
||||
#include <boost/config.hpp>
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
// traits class which users can specialize to indicate that a class
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#ifndef OBJECT_CORE_DWA2002615_HPP
|
||||
# define OBJECT_CORE_DWA2002615_HPP
|
||||
|
||||
# include <pyconfig.h>
|
||||
# include <boost/type.hpp>
|
||||
|
||||
# include <boost/python/call.hpp>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
# pragma once
|
||||
# endif
|
||||
|
||||
# include <pyconfig.h>
|
||||
# include <boost/config.hpp>
|
||||
# include <boost/mpl/bool.hpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user