Make it build on VS2013
This commit is contained in:
parent
41f9b271b0
commit
80d46c8f7d
5 changed files with 7 additions and 2 deletions
|
|
@ -153,9 +153,9 @@ public:
|
|||
WindowsAttribute(WORD _wAttributes) : wAttributes(_wAttributes) {}
|
||||
void apply(std::ostream& os) const {
|
||||
DWORD nStdHandleOutput;
|
||||
if (os == std::cout) {
|
||||
if (&os == &std::cout) {
|
||||
nStdHandleOutput = STD_OUTPUT_HANDLE;
|
||||
} else if (os == std::cerr) {
|
||||
} else if (&os == &std::cerr) {
|
||||
nStdHandleOutput = STD_ERROR_HANDLE;
|
||||
} else {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
#include <snappy.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#endif
|
||||
|
||||
#include <cstring> // strlen
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
#include <boost/print/detail.hpp>
|
||||
|
|
|
|||
|
|
@ -35,8 +35,10 @@
|
|||
namespace boost { namespace print {
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1800
|
||||
inline void va_copy(std::va_list &d, std::va_list &s) { d = s; }
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Generic printf
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
REGAL_GLOBAL_BEGIN
|
||||
|
||||
#include <math.h>
|
||||
#include <algorithm>
|
||||
|
||||
#include "RegalPpca.h"
|
||||
#include "RegalContext.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue