ANSI C fixes.
[wine] / include / crtdll.h
1 #ifndef __WINE_CRTDLL_H
2 #define __WINE_CRTDLL_H
3
4 #include "windef.h"
5
6 #define CRTDLL_LC_ALL           0
7 #define CRTDLL_LC_COLLATE       1
8 #define CRTDLL_LC_CTYPE         2
9 #define CRTDLL_LC_MONETARY      3
10 #define CRTDLL_LC_NUMERIC       4
11 #define CRTDLL_LC_TIME          5
12 #define CRTDLL_LC_MIN           LC_ALL
13 #define CRTDLL_LC_MAX           LC_TIME
14
15 /* ctype defines */
16 #define CRTDLL_UPPER            0x1
17 #define CRTDLL_LOWER            0x2
18 #define CRTDLL_DIGIT            0x4
19 #define CRTDLL_SPACE            0x8
20 #define CRTDLL_PUNCT            0x10
21 #define CRTDLL_CONTROL          0x20
22 #define CRTDLL_BLANK            0x40
23 #define CRTDLL_HEX              0x80
24 #define CRTDLL_LEADBYTE         0x8000
25 #define CRTDLL_ALPHA            (0x0100|CRTDLL_UPPER|CRTDLL_LOWER)
26
27 /* function prototypes used in crtdll.c */
28 extern int LastErrorToErrno(DWORD);
29
30 #endif /* __WINE_CRTDLL_H */