Commit | Line | Data |
---|---|---|
2708e3c4 MB |
1 | ?RCS: $Id$ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 2008 H.Merijn Brand | |
4 | ?RCS: | |
5 | ?RCS: You may distribute under the terms of either the GNU General Public | |
6 | ?RCS: License or the Artistic License, as specified in the README file. | |
7 | ?RCS: | |
8 | ?MAKE:d_ctime64 d_localtime64 d_gmtime64 d_mktime64 d_difftime64 d_asctime64: Inlibc | |
9 | ?MAKE: -pick add $@ %< | |
10 | ?S:d_ctime64: | |
11 | ?S: This variable conditionally defines the HAS_CTIME64 symbol, which | |
12 | ?S: indicates to the C program that the ctime64 () routine is available. | |
13 | ?S:. | |
14 | ?S:d_localtime64: | |
15 | ?S: This variable conditionally defines the HAS_LOCALTIME64 symbol, which | |
16 | ?S: indicates to the C program that the localtime64 () routine is available. | |
17 | ?S:. | |
18 | ?S:d_gmtime64: | |
19 | ?S: This variable conditionally defines the HAS_GMTIME64 symbol, which | |
20 | ?S: indicates to the C program that the gmtime64 () routine is available. | |
21 | ?S:. | |
22 | ?S:d_mktime64: | |
23 | ?S: This variable conditionally defines the HAS_MKTIME64 symbol, which | |
24 | ?S: indicates to the C program that the mktime64 () routine is available. | |
25 | ?S:. | |
26 | ?S:d_difftime64: | |
27 | ?S: This variable conditionally defines the HAS_DIFFTIME64 symbol, which | |
28 | ?S: indicates to the C program that the difftime64 () routine is available. | |
29 | ?S:. | |
30 | ?S:d_asctime64: | |
31 | ?S: This variable conditionally defines the HAS_ASCTIME64 symbol, which | |
32 | ?S: indicates to the C program that the asctime64 () routine is available. | |
33 | ?S:. | |
34 | ?C:HAS_CTIME64: | |
35 | ?C: This symbol, if defined, indicates that the ctime64 () routine is | |
36 | ?C: available to do the 64bit variant of ctime () | |
37 | ?C:. | |
38 | ?C:HAS_LOCALTIME64: | |
39 | ?C: This symbol, if defined, indicates that the localtime64 () routine is | |
40 | ?C: available to do the 64bit variant of localtime () | |
41 | ?C:. | |
42 | ?C:HAS_GMTIME64: | |
43 | ?C: This symbol, if defined, indicates that the gmtime64 () routine is | |
44 | ?C: available to do the 64bit variant of gmtime () | |
45 | ?C:. | |
46 | ?C:HAS_MKTIME64: | |
47 | ?C: This symbol, if defined, indicates that the mktime64 () routine is | |
48 | ?C: available to do the 64bit variant of mktime () | |
49 | ?C:. | |
50 | ?C:HAS_DIFFTIME64: | |
51 | ?C: This symbol, if defined, indicates that the difftime64 () routine is | |
52 | ?C: available to do the 64bit variant of difftime () | |
53 | ?C:. | |
54 | ?C:HAS_ASCTIME64: | |
55 | ?C: This symbol, if defined, indicates that the asctime64 () routine is | |
56 | ?C: available to do the 64bit variant of asctime () | |
57 | ?C:. | |
58 | ?H:#$d_ctime64 HAS_CTIME64 /**/ | |
59 | ?H:#$d_localtime64 HAS_LOCALTIME64 /**/ | |
60 | ?H:#$d_gmtime64 HAS_GMTIME64 /**/ | |
61 | ?H:#$d_mktime64 HAS_MKTIME64 /**/ | |
62 | ?H:#$d_difftime64 HAS_DIFFTIME64 /**/ | |
63 | ?H:#$d_asctime64 HAS_ASCTIME64 /**/ | |
64 | ?H:. | |
65 | ?LINT:set d_ctime64 d_localtime64 d_gmtime64 d_mktime64 d_difftime64 d_asctime64 | |
66 | : see if 64bit time functions exists | |
67 | ||
68 | set ctime64 d_ctime64 | |
69 | eval $inlibc | |
70 | ||
71 | set localtime64 d_localtime64 | |
72 | eval $inlibc | |
73 | ||
74 | set gmtime64 d_gmtime64 | |
75 | eval $inlibc | |
76 | ||
77 | set mktime64 d_mktime64 | |
78 | eval $inlibc | |
79 | ||
80 | set difftime64 d_difftime64 | |
81 | eval $inlibc | |
82 | ||
83 | set asctime64 d_asctime64 | |
84 | eval $inlibc | |
85 |