Prevent crash when no URL is specified.
[wine] / include / msvcrt / sys / types.h
1 /*
2  * _stat() definitions
3  *
4  * Copyright 2000 Francois Gouget.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20 #ifndef __WINE_SYS_TYPES_H
21 #define __WINE_SYS_TYPES_H
22 #ifndef __WINE_USE_MSVCRT
23 #define __WINE_USE_MSVCRT
24 #endif
25
26 #ifndef _DEV_T_DEFINED
27 typedef unsigned int   _dev_t;
28 #define _DEV_T_DEFINED
29 #endif
30
31 #ifndef _INO_T_DEFINED
32 typedef unsigned short _ino_t;
33 #define _INO_T_DEFINED
34 #endif
35
36 #ifndef _MODE_T_DEFINED
37 typedef unsigned short _mode_t;
38 #define _MODE_T_DEFINED
39 #endif
40
41 #ifndef _OFF_T_DEFINED
42 typedef int _off_t;
43 #define _OFF_T_DEFINED
44 #endif
45
46 #ifndef _TIME_T_DEFINED
47 typedef long time_t;
48 #define _TIME_T_DEFINED
49 #endif
50
51 #ifndef _BSD_TYPES_DEFINED
52 typedef unsigned char u_char;
53 typedef unsigned short u_short;
54 typedef unsigned int  u_int;
55 typedef unsigned long u_long;
56 #define _BSD_TYPES_DEFINED
57 #endif
58
59 #define dev_t _dev_t
60 #define ino_t _ino_t
61 #define mode_t _mode_t
62 #define off_t _off_t
63
64 #ifndef _PID_T_DEFINED
65 typedef int pid_t;
66 #define _PID_T_DEFINED
67 #endif
68
69 #ifndef _SSIZE_T_DEFINED
70 typedef int ssize_t;
71 #define _SSIZE_T_DEFINED
72 #endif
73
74 #endif /* __WINE_SYS_TYPES_H */