92 lines
2.5 KiB
Diff
92 lines
2.5 KiB
Diff
From 2d97808b68f81bc35ea4688e625222d5215305ae Mon Sep 17 00:00:00 2001
|
|
From: Mark Poliakov <mark@alnyan.me>
|
|
Date: Thu, 6 Mar 2025 14:04:50 +0200
|
|
Subject: [PATCH 4/4] alnyan/yggdrasil: fix includes
|
|
|
|
---
|
|
include/openlibm.h | 6 +++---
|
|
include/openlibm_fenv.h | 16 ++++++++--------
|
|
include/openlibm_fenv_amd64.h | 2 +-
|
|
include/openlibm_math.h | 2 +-
|
|
4 files changed, 13 insertions(+), 13 deletions(-)
|
|
|
|
diff --git a/include/openlibm.h b/include/openlibm.h
|
|
index d851945..704a579 100644
|
|
--- a/include/openlibm.h
|
|
+++ b/include/openlibm.h
|
|
@@ -1,8 +1,8 @@
|
|
#ifndef OPENLIBM_H
|
|
#define OPENLIBM_H
|
|
|
|
-#include <openlibm_complex.h>
|
|
-#include <openlibm_fenv.h>
|
|
-#include <openlibm_math.h>
|
|
+#include "openlibm_complex.h"
|
|
+#include "openlibm_fenv.h"
|
|
+#include "openlibm_math.h"
|
|
|
|
#endif /* !OPENLIBM_H */
|
|
diff --git a/include/openlibm_fenv.h b/include/openlibm_fenv.h
|
|
index 145e960..33453f3 100644
|
|
--- a/include/openlibm_fenv.h
|
|
+++ b/include/openlibm_fenv.h
|
|
@@ -3,21 +3,21 @@
|
|
#else /* !OPENLIBM_USE_HOST_FENV_H */
|
|
|
|
#if defined(__aarch64__) || defined(__arm__)
|
|
-#include <openlibm_fenv_arm.h>
|
|
+#include "openlibm_fenv_arm.h"
|
|
#elif defined(__x86_64__)
|
|
-#include <openlibm_fenv_amd64.h>
|
|
+#include "openlibm_fenv_amd64.h"
|
|
#elif defined(__i386__)
|
|
-#include <openlibm_fenv_i387.h>
|
|
+#include "openlibm_fenv_i387.h"
|
|
#elif defined(__powerpc__) || defined(__POWERPC__)
|
|
-#include <openlibm_fenv_powerpc.h>
|
|
+#include "openlibm_fenv_powerpc.h"
|
|
#elif defined(__mips__)
|
|
-#include <openlibm_fenv_mips.h>
|
|
+#include "openlibm_fenv_mips.h"
|
|
#elif defined(__s390__)
|
|
-#include <openlibm_fenv_s390.h>
|
|
+#include "openlibm_fenv_s390.h"
|
|
#elif defined(__riscv)
|
|
-#include <openlibm_fenv_riscv.h>
|
|
+#include "openlibm_fenv_riscv.h"
|
|
#elif defined(__loongarch64)
|
|
-#include <openlibm_fenv_loongarch64.h>
|
|
+#include "openlibm_fenv_loongarch64.h"
|
|
#else
|
|
#error "Unsupported platform"
|
|
#endif
|
|
diff --git a/include/openlibm_fenv_amd64.h b/include/openlibm_fenv_amd64.h
|
|
index c6db210..6cb3ed5 100644
|
|
--- a/include/openlibm_fenv_amd64.h
|
|
+++ b/include/openlibm_fenv_amd64.h
|
|
@@ -29,7 +29,7 @@
|
|
#ifndef _FENV_H_
|
|
#define _FENV_H_
|
|
|
|
-#include <openlibm_defs.h>
|
|
+#include "openlibm_defs.h"
|
|
#include "cdefs-compat.h"
|
|
#include "types-compat.h"
|
|
|
|
diff --git a/include/openlibm_math.h b/include/openlibm_math.h
|
|
index 701ad70..e548f36 100644
|
|
--- a/include/openlibm_math.h
|
|
+++ b/include/openlibm_math.h
|
|
@@ -18,7 +18,7 @@
|
|
#include <math.h>
|
|
#else /* !OPENLIBM_USE_HOST_MATH_H */
|
|
|
|
-#include <openlibm_defs.h>
|
|
+#include "openlibm_defs.h"
|
|
|
|
#ifndef OPENLIBM_MATH_H
|
|
#define OPENLIBM_MATH_H
|
|
--
|
|
2.48.1
|
|
|