Skip to content

Commit

Permalink
Merge pull request #89 from rlorigro/main
Browse files Browse the repository at this point in the history
Use cross platform header instead of endian.h
  • Loading branch information
smarco authored Mar 31, 2024
2 parents 1d97039 + 022672e commit 6e27ac6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions wavefront/wavefront_extend_kernels.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@
* DESCRIPTION: WFA module for the "extension" of exact matches
*/

#if defined(__APPLE__) || defined(__FreeBSD__)
#include <machine/endian.h> // __BYTE_ORDER
#else
#include <endian.h> // __BYTE_ORDER
#endif

// Use cross-platform header
#include <sys/types.h>

#include "wavefront_extend_kernels.h"
#include "wavefront_termination.h"
Expand Down

0 comments on commit 6e27ac6

Please sign in to comment.