Ticket #1609: system_error_code.cpp.2.patch
File system_error_code.cpp.2.patch, 708 bytes (added by , 15 years ago) |
---|
-
error_code.cpp
15 15 // But the wording of the warning is misleading and unsettling, there are no 16 16 // portable alternative functions, and VC++ 8.0's own libraries use the 17 17 // functions in question. So turn off the warnings. 18 #if !defined(_CRT_SECURE_NO_DEPRECATE) 18 19 #define _CRT_SECURE_NO_DEPRECATE 20 #endif 21 #if !defined (_SCL_SECURE_NO_DEPRECATE) 19 22 #define _SCL_SECURE_NO_DEPRECATE 23 #endif 20 24 21 25 // define BOOST_SYSTEM_SOURCE so that <boost/system/config.hpp> knows 22 26 // the library is being built (possibly exporting rather than importing code)