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
  • Loading branch information
clyring committed Aug 8, 2023
1 parent 676c385 commit e8a9b52
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 e8a9b52

Please sign in to comment.