Fix undef of small with WIN32_LEAN_AND_MEAN defined.
GitOrigin-RevId: ca8ca03bdf62e9aaf2fe44078aa074296a3a949e
This commit is contained in:
parent
c7411004be
commit
f9e8bbdff4
@ -9,7 +9,6 @@
|
||||
#include "td/utils/port/config.h"
|
||||
|
||||
#include "td/utils/common.h"
|
||||
#undef small
|
||||
|
||||
#if TD_WINRT
|
||||
|
||||
@ -21,6 +20,8 @@
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
|
||||
#undef small
|
||||
|
||||
#define REF_NEW ref new
|
||||
#define CLRCALL
|
||||
#define DEPRECATED_ATTRIBUTE(message) ::Windows::Foundation::Metadata::Deprecated(message,\
|
||||
@ -90,6 +91,8 @@ inline String^ string_from_unmanaged(const std::string &from) {
|
||||
|
||||
#elif TD_CLI
|
||||
|
||||
#undef small
|
||||
|
||||
#define REF_NEW gcnew
|
||||
#define CLRCALL __clrcall
|
||||
#define DEPRECATED_ATTRIBUTE(message) System::ObsoleteAttribute(message)
|
||||
|
Reference in New Issue
Block a user