Skip to content

Commit

Permalink
Use a more specific include than Rts.h (#607)
Browse files Browse the repository at this point in the history
The Rts.h include seems to cause build problems.
See also:
  https://gitlab.haskell.org/ghc/ghc/-/issues/23789
  #606

(cherry picked from commit e8a9b52)
  • Loading branch information
clyring committed Aug 8, 2023
1 parent 602fd2f commit 2bdeb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cbits/is-valid-utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SUCH DAMAGE.
#endif

#include <MachDeps.h>
#include "Rts.h"
#include "ghcplatform.h"

#ifdef WORDS_BIGENDIAN
#define to_little_endian(x) __builtin_bswap64(x)
Expand Down

0 comments on commit 2bdeb7b

Please sign in to comment.