Commit 21d90af
committed
Auto merge of #3152 - shua:mactime, r=JohnTitor
mac time.h functions
I used these in https://github.com/shua/graf because I'm used to them, and don't really want to pull in time or chrono just for some stuff already present in libc.h . Compilation worked fine on my linux target, but failed on mac osx because these weren't defined in rust-lang/libc (but these are all present in 13.1 SDK).2 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1819 | 1819 | | |
1820 | 1820 | | |
1821 | 1821 | | |
| 1822 | + | |
| 1823 | + | |
1822 | 1824 | | |
1823 | 1825 | | |
1824 | 1826 | | |
| |||
1845 | 1847 | | |
1846 | 1848 | | |
1847 | 1849 | | |
| 1850 | + | |
| 1851 | + | |
1848 | 1852 | | |
1849 | 1853 | | |
1850 | 1854 | | |
| |||
1880 | 1884 | | |
1881 | 1885 | | |
1882 | 1886 | | |
| 1887 | + | |
1883 | 1888 | | |
1884 | 1889 | | |
1885 | 1890 | | |
| |||
2181 | 2186 | | |
2182 | 2187 | | |
2183 | 2188 | | |
| 2189 | + | |
2184 | 2190 | | |
2185 | 2191 | | |
| 2192 | + | |
2186 | 2193 | | |
2187 | 2194 | | |
2188 | 2195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5121 | 5121 | | |
5122 | 5122 | | |
5123 | 5123 | | |
| 5124 | + | |
| 5125 | + | |
| 5126 | + | |
| 5127 | + | |
| 5128 | + | |
| 5129 | + | |
| 5130 | + | |
| 5131 | + | |
| 5132 | + | |
| 5133 | + | |
| 5134 | + | |
| 5135 | + | |
| 5136 | + | |
| 5137 | + | |
| 5138 | + | |
| 5139 | + | |
| 5140 | + | |
5124 | 5141 | | |
5125 | 5142 | | |
5126 | 5143 | | |
| |||
0 commit comments