commit | 84729949db3b700fc850da51b4a972b87142b1a4 | [log] [tgz] |
---|---|---|
author | Alexis Hetu <sugoi@google.com> | Mon Dec 05 11:25:24 2016 -0500 |
committer | Alexis Hétu <sugoi@google.com> | Mon Dec 05 19:13:21 2016 +0000 |
tree | bf057056a3ec2398eab1cb474e25b411acdae1ad | |
parent | eb253d0b6c3d44e99804ad780d273008159246d8 [diff] |
Fixed sys/time.h vs time.h issue on Linux There was a compilation issue on some bots on Linux related to time functions which was fixable with a simple config setting. Change-Id: I8bc71f4298d662e48dd12a4c8963ed5ef3211949 Reviewed-on: https://swiftshader-review.googlesource.com/8252 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/third_party/LLVM/include-linux/llvm/Config/config.h b/third_party/LLVM/include-linux/llvm/Config/config.h index 08ae033..509bc26 100644 --- a/third_party/LLVM/include-linux/llvm/Config/config.h +++ b/third_party/LLVM/include-linux/llvm/Config/config.h
@@ -669,7 +669,7 @@ #undef STAT_MACROS_BROKEN /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#undef TIME_WITH_SYS_TIME +#define TIME_WITH_SYS_TIME 1 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ #undef TM_IN_SYS_TIME