Debian Codegraph @

terps/tads/tads3/test/data/time.h

raw symbols SCIP
1 #if !__STDC__ || defined(_POSIX_)
2
3 /* Non-ANSI names for compatibility */
4
5 #define CLK_TCK CLOCKS_PER_SEC
6
7 #ifdef _NTSDK
8
9 /* Declarations and definitions compatible with the NT SDK */
10
11 #define daylight _daylight
12 /* timezone cannot be #defined because of <sys/timeb.h> */
13
14 #ifndef _POSIX_
15 #define tzname _tzname
16 #define tzset _tzset
17 #endif /* _POSIX_ */
18
19 #else /* ndef _NTSDK */
20
21 #if defined(_DLL) && defined(_M_IX86)
22
23 #define daylight (*__p__daylight())
24 /* timezone cannot be #defined because of <sys/timeb.h>
25 so CRT DLL for win32s will not have timezone */
26 _CRTIMP extern long timezone;
27 #define tzname (__p__tzname())
28
29 #else /* !(defined(_DLL) && defined(_M_IX86)) */
30
31 _CRTIMP extern int daylight;
32 _CRTIMP extern long timezone;
33 _CRTIMP extern char * tzname[2];
34
35 #endif /* !(defined(_DLL) && defined(_M_IX86)) */