Skip to content

Commit dba1f82

Browse files
tanaytanaytanay
tanay
authored andcommitted
updated endian
1 parent 989a4cb commit dba1f82

File tree

1 file changed

+5
-1
lines changed
  • packages/react-native-quick-crypto/deps/fastpbkdf2

1 file changed

+5
-1
lines changed

packages/react-native-quick-crypto/deps/fastpbkdf2/fastpbkdf2.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
#include <assert.h>
1818
#include <string.h>
1919
#if defined(__GNUC__)
20-
#include <endian.h>
20+
#if TARGET_OS_MACCATALYST
21+
#include <machine/endian.h> // Mac Catalyst
22+
#else
23+
#include <endian.h> // iOS
24+
#endif
2125
#endif
2226

2327
#include <openssl/sha.h>

0 commit comments

Comments
 (0)