mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 03:33:38 +00:00
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
|
||||
*/
|
||||
|
||||
#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;
|
||||
|
|
Loading…
Reference in a new issue