Revert "winex11.drv: Optimise getting the bits of a DIB after calling SetDIBits."
[wine] / include / msvcrt / sys / timeb.h
1 /*
2  * Path and directory 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 #ifndef __WINE_SYS_TIMEB_H
21 #define __WINE_SYS_TIMEB_H
22 #ifndef __WINE_USE_MSVCRT
23 #define __WINE_USE_MSVCRT
24 #endif
25
26 #include <pshpack8.h>
27
28 #ifndef _TIME_T_DEFINED
29 typedef long time_t;
30 #define _TIME_T_DEFINED
31 #endif
32
33 #ifndef _TIMEB_DEFINED
34 #define _TIMEB_DEFINED
35 struct _timeb
36 {
37     time_t time;
38     unsigned short millitm;
39     short          timezone;
40     short          dstflag;
41 };
42 #endif /* _TIMEB_DEFINED */
43
44
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48
49 void        _ftime(struct _timeb*);
50
51 #ifdef __cplusplus
52 }
53 #endif
54
55
56 #define timeb _timeb
57
58 static inline void ftime(struct _timeb* ptr) { return _ftime(ptr); }
59
60 #include <poppack.h>
61
62 #endif /* __WINE_SYS_TIMEB_H */