Merge branch 'v0.20.x'
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include "Win32.hxx"
|
||||
#include <windows.h>
|
||||
#endif
|
||||
@@ -73,7 +73,7 @@ try {
|
||||
folded.SetSize(folded_length);
|
||||
return UCharToUTF8({folded.begin(), folded.size()});
|
||||
|
||||
#elif defined(WIN32)
|
||||
#elif defined(_WIN32)
|
||||
const auto u = MultiByteToWideChar(CP_UTF8, src);
|
||||
|
||||
const int size = LCMapStringEx(LOCALE_NAME_INVARIANT,
|
||||
|
@@ -32,7 +32,7 @@
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include "Win32.hxx"
|
||||
#include "util/AllocatedString.hxx"
|
||||
#include <windows.h>
|
||||
@@ -103,7 +103,7 @@ IcuCollate(const char *a, const char *b) noexcept
|
||||
}
|
||||
#endif
|
||||
|
||||
#elif defined(WIN32)
|
||||
#elif defined(_WIN32)
|
||||
AllocatedString<wchar_t> wa = nullptr, wb = nullptr;
|
||||
|
||||
try {
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <upnp/upnptools.h>
|
||||
#include <upnptools.h>
|
||||
|
||||
static inline constexpr unsigned
|
||||
CountNameValuePairs() noexcept
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_UPNP_CALLBACK_HXX
|
||||
#define MPD_UPNP_CALLBACK_HXX
|
||||
|
||||
#include <upnp/upnp.h>
|
||||
#include <upnp.h>
|
||||
|
||||
/**
|
||||
* A class that is supposed to be used for libupnp asynchronous
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
||||
#include <upnp/upnptools.h>
|
||||
#include <upnptools.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <upnp/upnp.h>
|
||||
#include <upnp.h>
|
||||
|
||||
void
|
||||
UpnpClientGlobalInit(UpnpClient_Handle &handle);
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_UPNP_COMPAT_HXX
|
||||
#define MPD_UPNP_COMPAT_HXX
|
||||
|
||||
#include <upnp/upnp.h>
|
||||
#include <upnp.h>
|
||||
|
||||
#if UPNP_VERSION < 10800
|
||||
/* emulate the libupnp 1.8 API with older versions */
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <upnp/upnp.h>
|
||||
#include <upnp.h>
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#include "util/ScopeExit.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
||||
#include <upnp/upnptools.h>
|
||||
#include <upnptools.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@@ -30,7 +30,7 @@
|
||||
#include "event/DeferEvent.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <upnp/upnp.h>
|
||||
#include <upnp.h>
|
||||
|
||||
#include <boost/intrusive/list.hpp>
|
||||
|
||||
|
@@ -22,9 +22,9 @@
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
||||
#include <upnp/upnp.h>
|
||||
#include <upnp/upnptools.h>
|
||||
#include <upnp/ixml.h>
|
||||
#include <upnp.h>
|
||||
#include <upnptools.h>
|
||||
#include <ixml.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_UPNP_UNIQUE_XML_HXX
|
||||
#define MPD_UPNP_UNIQUE_XML_HXX
|
||||
|
||||
#include <upnp/ixml.h>
|
||||
#include <ixml.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#ifndef _IXMLWRAP_H_INCLUDED_
|
||||
#define _IXMLWRAP_H_INCLUDED_
|
||||
|
||||
#include <upnp/ixml.h>
|
||||
#include <ixml.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
Reference in New Issue
Block a user