Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions runtime/druntime/src/importc.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,17 @@ typedef struct {} __SVFloat64_t;
#if __APPLE__
#undef __SIZEOF_INT128__
#endif

#if __ANDROID__
#undef __SIZEOF_INT128__
#define __GNUC_VA_LIST
#define _VA_LIST
#define __builtin_va_list va_list
#define __gnuc_va_list va_list

// This macro resolves the ambiguity between Bionic and library ioctl.
// https://android.googlesource.com/platform/bionic/+/master/libc/include/bits/ioctl.h
#define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD

#define __sync_synchronize()
#endif
Loading