mirror of
https://github.com/boostorg/detail.git
synced 2025-07-30 12:27:15 +02:00
Boost.Chrono: try to fix LONGLONG_ definition
[SVN r68128]
This commit is contained in:
@ -10,10 +10,10 @@
|
|||||||
#define BOOST_DETAIL_WIN_BASIC_TYPES_HPP
|
#define BOOST_DETAIL_WIN_BASIC_TYPES_HPP
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
|
#include <boost/cstdint.hpp>
|
||||||
#if defined( BOOST_USE_WINDOWS_H )
|
#if defined( BOOST_USE_WINDOWS_H )
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
|
#elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) || defined(__CYGWIN__)
|
||||||
# include <WinError.h>
|
# include <WinError.h>
|
||||||
// @FIXME Which condition must be tested
|
// @FIXME Which condition must be tested
|
||||||
# ifdef UNDER_CE
|
# ifdef UNDER_CE
|
||||||
@ -64,16 +64,18 @@ extern "C" {
|
|||||||
typedef long LONG_;
|
typedef long LONG_;
|
||||||
|
|
||||||
// @FIXME Which condition must be tested
|
// @FIXME Which condition must be tested
|
||||||
#if !defined(_M_IX86)
|
//~ #if !defined(_M_IX86)
|
||||||
#if defined(__CYGWIN__)
|
//~ #if defined(BOOST_NO_INT64_T)
|
||||||
typedef double LONGLONG_;
|
//~ typedef double LONGLONG_;
|
||||||
#else
|
//~ #else
|
||||||
typedef __int64 LONGLONG_;
|
//~ typedef __int64 LONGLONG_;
|
||||||
#endif
|
//~ #endif
|
||||||
#else
|
//~ #else
|
||||||
typedef double LONGLONG_;
|
//~ typedef double LONGLONG_;
|
||||||
#endif
|
//~ #endif
|
||||||
|
typedef boost::int64_t LONGLONG_;
|
||||||
|
|
||||||
|
// @FIXME Which condition must be tested
|
||||||
# ifdef _WIN64
|
# ifdef _WIN64
|
||||||
#if defined(__CYGWIN__)
|
#if defined(__CYGWIN__)
|
||||||
typedef unsigned long ULONG_PTR_;
|
typedef unsigned long ULONG_PTR_;
|
||||||
|
Reference in New Issue
Block a user