1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make: add clock_gettime on macOS < 10.12 (fix #6605) (#15611)

This commit is contained in:
Haren S
2022-08-31 08:03:25 +00:00
committed by GitHub
parent 4d6b8cbfd8
commit bc06866b20
2 changed files with 37 additions and 2 deletions

View File

@ -3,6 +3,7 @@
// that can be found in the LICENSE file.
module time
#flag darwin -I@VEXEROOT/thirdparty/legacy/include/LegacySupport
#include <time.h>
#include <errno.h>