Skip to content

Commit

Permalink
Both mingw and MSVS need stdlib.h for pearson byteswap
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk authored and rurban committed Aug 29, 2024
1 parent 26fed3d commit 22ab980
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pearson_hash/portable_endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@

#elif defined(__WINDOWS__)

# ifdef __MINGW32__
# include <stdlib.h>
# endif
# include <stdlib.h>

# if BYTE_ORDER == LITTLE_ENDIAN

Expand Down

0 comments on commit 22ab980

Please sign in to comment.