blob: 1eac920e53d3fdd54bb1bde9f2ac91e4fe77f25d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include <cstdlib>
// http://support.microsoft.com/kb/208427
#ifndef URL_MAXLEN
#define URL_MAXLEN 2083
#endif
#define HOST_MAX 260
#ifndef URL_MAX
#define URL_MAX 1024
#endif
#define FULLURL_MAX (URL_MAX + HOST_MAX)
#define LINKTEXT_MAX 1024
#ifdef WIN32
#ifndef PATH_MAX
#define PATH_MAX _MAX_PATH
#endif
#else
#ifndef MAX_PATH
#define MAX_PATH PATH_MAX
#endif
#ifndef _MAX_PATH
#define _MAX_PATH PATH_MAX
#endif
#endif
|