urlmon: Avoid some symbol redefinitions.
This commit is contained in:
parent
f445325999
commit
292cb17ebb
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define NONAMELESSUNION
|
#include <limits.h>
|
||||||
|
|
||||||
#include "urlmon_main.h"
|
#include "urlmon_main.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
@ -27,9 +27,6 @@
|
||||||
|
|
||||||
#include "strsafe.h"
|
#include "strsafe.h"
|
||||||
|
|
||||||
#define UINT_MAX 0xffffffff
|
|
||||||
#define USHORT_MAX 0xffff
|
|
||||||
|
|
||||||
#define URI_DISPLAY_NO_ABSOLUTE_URI 0x1
|
#define URI_DISPLAY_NO_ABSOLUTE_URI 0x1
|
||||||
#define URI_DISPLAY_NO_DEFAULT_PORT_AUTH 0x2
|
#define URI_DISPLAY_NO_DEFAULT_PORT_AUTH 0x2
|
||||||
|
|
||||||
|
@ -1353,7 +1350,7 @@ static BOOL parse_port(const WCHAR **ptr, parse_data *data, DWORD flags) {
|
||||||
|
|
||||||
port = port*10 + (**ptr-'0');
|
port = port*10 + (**ptr-'0');
|
||||||
|
|
||||||
if(port > USHORT_MAX) {
|
if(port > USHRT_MAX) {
|
||||||
*ptr = data->port;
|
*ptr = data->port;
|
||||||
data->port = NULL;
|
data->port = NULL;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue