Universalize bswap

This commit is contained in:
Cryptic 2021-10-31 23:21:57 -07:00
parent cb9831f384
commit 10161f4e9d
No known key found for this signature in database
GPG key ID: 6027B509EFE3A76B

View file

@ -32,12 +32,7 @@ extern "C"{
#include "restore.h"
#include "tsschecker.h"
#include <libirecovery.h>
#if defined(__APPLE__)
#include <libkern/OSByteOrder.h>
#define __bswap_64(x) OSSwapInt64(x)
#else
#include <byteswap.h>
#endif
#include "../external/idevicerestore/src/endianness.h"
}
//(re)define __mkdir