hrev53162 adds 1 changeset to branch 'master'
old head: 3a2175926b20fad519ffa52bc1ecc770a9193480
new head: ca904ab353777023fc920f9a6780da51cca4781a
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=ca904ab35377+%5E3a2175926b20
----------------------------------------------------------------------------
ca904ab35377: system_time: Add temporary hack for GCC 8 to get ia32intrin.
ia32intrin isn't supposed to be included, only x86intrin is,
but GCC 8 changed some of the __builtin definitions in a
backwards-incompatible way for some of the AVX headers.
So, this is a temporary hack until we are using GCC 8 syslibs
packages.
[ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev53162
Commit: ca904ab353777023fc920f9a6780da51cca4781a
URL: https://git.haiku-os.org/haiku/commit/?id=ca904ab35377
Author: Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date: Fri May 24 23:14:28 2019 UTC
----------------------------------------------------------------------------
1 file changed, 4 insertions(+), 1 deletion(-)
src/system/libroot/os/arch/x86_64/system_time.cpp | 5 ++++-
----------------------------------------------------------------------------
diff --git a/src/system/libroot/os/arch/x86_64/system_time.cpp
b/src/system/libroot/os/arch/x86_64/system_time.cpp
index 5678d31323..76597de4d8 100644
--- a/src/system/libroot/os/arch/x86_64/system_time.cpp
+++ b/src/system/libroot/os/arch/x86_64/system_time.cpp
@@ -6,7 +6,10 @@
#include <stdint.h>
-#include <x86intrin.h>
+//#include <x86intrin.h>
+#define _X86INTRIN_H_INCLUDED
+#include <ia32intrin.h>
+
static uint64_t cv_factor;