mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 04:27:14 +02:00
Remove deprecation message from windows_error.hpp (closes #57)
This commit is contained in:
@ -10,13 +10,6 @@
|
|||||||
#ifndef BOOST_SYSTEM_WINDOWS_ERROR_HPP
|
#ifndef BOOST_SYSTEM_WINDOWS_ERROR_HPP
|
||||||
#define BOOST_SYSTEM_WINDOWS_ERROR_HPP
|
#define BOOST_SYSTEM_WINDOWS_ERROR_HPP
|
||||||
|
|
||||||
#include <boost/config/pragma_message.hpp>
|
|
||||||
|
|
||||||
#if !defined(BOOST_ALLOW_DEPRECATED_HEADERS)
|
|
||||||
BOOST_PRAGMA_MESSAGE("This header is deprecated and is slated for removal."
|
|
||||||
" If you want it retained, please open an issue in github.com/boostorg/system.")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// This header is effectively empty for compiles on operating systems where
|
// This header is effectively empty for compiles on operating systems where
|
||||||
// it is not applicable.
|
// it is not applicable.
|
||||||
|
|
||||||
@ -25,16 +18,6 @@
|
|||||||
#ifdef BOOST_WINDOWS_API
|
#ifdef BOOST_WINDOWS_API
|
||||||
|
|
||||||
#include <boost/system/error_code.hpp>
|
#include <boost/system/error_code.hpp>
|
||||||
|
|
||||||
//// Neither MinGW or Cygwin versions of winerror.h work if used alone, so on
|
|
||||||
//// either of those platforms include the full windows.h
|
|
||||||
//
|
|
||||||
//#if defined(__MINGW32__) || defined(__CYGWIN__)
|
|
||||||
//#include <windows.h>
|
|
||||||
//#else
|
|
||||||
//#include <winerror.h>
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#include <boost/winapi/error_codes.hpp>
|
#include <boost/winapi/error_codes.hpp>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
|
Reference in New Issue
Block a user