Merge pull request #9 from gingerbeardman/master

Update ioctl.h to add non-Linux support
master
Richard Antony Burton 5 years ago committed by GitHub
commit 0cffa65ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,3 +22,8 @@ serial - optional, can be hex (0x prefixed) or decimal
Based on the reverse engineering and code of Sean Beaupre,
see: https://github.com/beaups/SamsungCID
## Compile
`gcc evoplus_cid.c -o evoplus_cid`
You can safely ignore compilation warnings.

@ -4,7 +4,16 @@
#include "card.h"
#endif
#include <linux/types.h>
#ifdef __linux__
# include "linux/types.h"
#else
# include <stdint.h>
typedef uint64_t __u64;
typedef uint32_t __u32;
typedef int32_t __s32;
typedef uint16_t __u16;
typedef uint8_t __u8;
#endif
struct mmc_ioc_cmd {

Loading…
Cancel
Save