source: trunk/include/win/msvcrt/sys/timeb.h

Last change on this file was 9631, checked in by sandervl, 23 years ago

PF: header updates

File size: 1.5 KB
Line 
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20#ifndef __WINE_SYS_TIMEB_H
21#define __WINE_SYS_TIMEB_H
22#define __WINE_USE_MSVCRT
23
24#ifndef MSVCRT
25# ifdef USE_MSVCRT_PREFIX
26# define MSVCRT(x) MSVCRT_##x
27# else
28# define MSVCRT(x) x
29# endif
30#endif
31
32#ifndef MSVCRT_TIME_T_DEFINED
33typedef long MSVCRT(time_t);
34#define MSVCRT_TIME_T_DEFINED
35#endif
36
37#ifndef MSVCRT_TIMEB_DEFINED
38#define MSVCRT_TIMEB_DEFINED
39struct _timeb
40{
41 MSVCRT(time_t) time;
42 unsigned short millitm;
43 short timezone;
44 short dstflag;
45};
46#endif /* MSVCRT_TIMEB_DEFINED */
47
48
49#ifdef __cplusplus
50extern "C" {
51#endif
52
53void _ftime(struct _timeb*);
54
55#ifdef __cplusplus
56}
57#endif
58
59
60#ifndef USE_MSVCRT_PREFIX
61#define timeb _timeb
62
63#define ftime _ftime
64#endif /* USE_MSVCRT_PREFIX */
65
66#endif /* __WINE_SYS_TIMEB_H */
Note: See TracBrowser for help on using the repository browser.