mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
don't mix ifdef and defined
This commit is contained in:
parent
70add3fabe
commit
021ee95e07
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__ || defined(__ANDROID__) || defined(ANDROID)
|
#if defined(__APPLE__) || defined(__ANDROID__) || defined(ANDROID)
|
||||||
typedef int RetType;
|
typedef int RetType;
|
||||||
typedef int LenType;
|
typedef int LenType;
|
||||||
#elif __GLIBC__
|
#elif __GLIBC__
|
||||||
|
@ -102,7 +102,7 @@ FILE *open_memstream(char **bufptr, size_t *lenptr) {
|
||||||
*bufptr = NULL;
|
*bufptr = NULL;
|
||||||
*lenptr = 0;
|
*lenptr = 0;
|
||||||
|
|
||||||
#ifdef __APPLE__ || defined(__ANDROID__) || defined(ANDROID)
|
#if defined(__APPLE__) || defined(__ANDROID__) || defined(ANDROID)
|
||||||
return funopen(b, NULL, write_to_buffer, NULL, close_buffer);
|
return funopen(b, NULL, write_to_buffer, NULL, close_buffer);
|
||||||
#elif __GLIBC__
|
#elif __GLIBC__
|
||||||
static const cookie_io_functions_t vtable = {
|
static const cookie_io_functions_t vtable = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue