Skip to content

Commit 4542bee

Browse files
committed
Don't #include <endian.h> on macOS
Resolves: #15
1 parent 58cecd6 commit 4542bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

passwdqc_filter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern int passwdqc_filter_close(passwdqc_filter_t *flt);
3434
/* Lower-level inlines for shared use by pwqfilter.c and passwdqc_filter.c */
3535

3636
#include <string.h> /* for strcspn() */
37-
#ifndef _MSC_VER
37+
#if !defined(_MSC_VER) && !defined(__APPLE__)
3838
#include <endian.h>
3939
#endif
4040

0 commit comments

Comments
 (0)