Skip to content

Commit

Permalink
Fix fenv_t initializer (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
000lbh authored Nov 9, 2024
1 parent 5992e5a commit c4667ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loongarch64/fenv.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define __fenv_static
#include <fenv.h>
#include <openlibm_fenv.h>

#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
Expand Down
2 changes: 1 addition & 1 deletion riscv64/fenv.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/

#define __fenv_static
#include "fenv.h"
#include <openlibm_fenv.h>

#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
Expand Down

0 comments on commit c4667ca

Please sign in to comment.