Ports: Build fix for gcc when building the port with gcc 11.1.0

This commit is contained in:
Gunnar Beutner 2021-04-27 18:24:04 +02:00 committed by Andreas Kling
parent d2a5d76b54
commit 669676b635

View file

@ -0,0 +1,20 @@
diff -Naur gcc-11.1.0/libstdc++-v3/include/c_compatibility/fenv.h gcc-11.1.0.serenity/libstdc++-v3/include/c_compatibility/fenv.h
--- gcc-11.1.0/libstdc++-v3/include/c_compatibility/fenv.h 2021-04-27 12:00:16.000000000 +0200
+++ gcc-11.1.0.serenity/libstdc++-v3/include/c_compatibility/fenv.h 2021-04-27 18:19:15.749373118 +0200
@@ -26,8 +26,8 @@
* This is a Standard C++ Library header.
*/
-#ifndef _GLIBCXX_FENV_H
-#define _GLIBCXX_FENV_H 1
+#ifndef _GLIBCXX_PORT_FENV_H
+#define _GLIBCXX_PORT_FENV_H 1
#pragma GCC system_header
@@ -78,4 +78,4 @@
#endif // C++11
-#endif // _GLIBCXX_FENV_H
+#endif // _GLIBCXX_PORT_FENV_H