mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-30 15:45:55 +02:00
Added fix/workaround for GH #2220
This commit is contained in:
parent
604872b56b
commit
53821f5638
@ -12,6 +12,16 @@
|
||||
//
|
||||
|
||||
|
||||
// Workaround for an issue with the Visual C++ 2008 STL
|
||||
// implementation. If iterator debugging is enabled (default
|
||||
// if _DEBUG is #define'd), std::lower_bound() will fail
|
||||
// to compile.
|
||||
// See also: <https://github.com/pocoproject/poco/issues/2220>
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1500
|
||||
#define _HAS_ITERATOR_DEBUGGING 0
|
||||
#endif
|
||||
|
||||
|
||||
#include "Poco/DoubleByteEncoding.h"
|
||||
#include "Poco/String.h"
|
||||
#include <algorithm>
|
||||
|
Loading…
x
Reference in New Issue
Block a user