Skip to content

Commit a79783d

Browse files
[libc][fenv] Use proxy header (#88787)
Include types `fexcept_t` and `fenv_t ` from corresponding proxy headers, as they are available since #88467.
1 parent 2704eba commit a79783d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libc/src/fenv/fegetexceptflag.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef LLVM_LIBC_SRC_FENV_FEGETEXCEPTFLAG_H
1010
#define LLVM_LIBC_SRC_FENV_FEGETEXCEPTFLAG_H
1111

12-
#include <fenv.h>
12+
#include "hdr/types/fexcept_t.h"
1313

1414
namespace LIBC_NAMESPACE {
1515

libc/src/fenv/fesetexceptflag.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef LLVM_LIBC_SRC_FENV_FESETEXCEPTFLAG_H
1010
#define LLVM_LIBC_SRC_FENV_FESETEXCEPTFLAG_H
1111

12-
#include <fenv.h>
12+
#include "hdr/types/fexcept_t.h"
1313

1414
namespace LIBC_NAMESPACE {
1515

libc/src/fenv/feupdateenv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "src/__support/FPUtil/FEnvImpl.h"
1111
#include "src/__support/common.h"
1212

13-
#include <fenv.h>
13+
#include "hdr/types/fenv_t.h"
1414

1515
namespace LIBC_NAMESPACE {
1616

0 commit comments

Comments
 (0)