Commit 292cb17e authored by Alexandre Julliard's avatar Alexandre Julliard

urlmon: Avoid some symbol redefinitions.

parent f4453259
......@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSUNION
#include <limits.h>
#include "urlmon_main.h"
#include "wine/debug.h"
......@@ -27,9 +27,6 @@
#include "strsafe.h"
#define UINT_MAX 0xffffffff
#define USHORT_MAX 0xffff
#define URI_DISPLAY_NO_ABSOLUTE_URI 0x1
#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');
if(port > USHORT_MAX) {
if(port > USHRT_MAX) {
*ptr = data->port;
data->port = NULL;
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment