File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ LOCAL_MODULE := libdrm2
7474
7575ifeq ($(TARGET_OS ) -$(TARGET_ARCH ) ,linux-x86)
7676LOCAL_CFLAGS += -DUSTL_ANDROID_X86
77+ else
78+ ifeq ($(TARGET_OS)-$(TARGET_ARCH),linux-sh)
79+ LOCAL_CFLAGS += -DUSTL_ANDROID_SH
80+ endif
7781endif
7882
7983include $(BUILD_STATIC_LIBRARY )
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ namespace simd {
370370// / implicit casts to pointer from an integral type. Ironically, such an
371371// / implicit cast is already detected by gcc.
372372// /
373- #if defined(USTL_ANDROID_X86)
373+ #if defined(USTL_ANDROID_X86) || defined(USTL_ANDROID_SH)
374374#define OVERLOAD_POINTER_AND_SIZE_T_V2 (name, arg1type )
375375#else
376376#define OVERLOAD_POINTER_AND_SIZE_T_V2 (name, arg1type ) \
You can’t perform that action at this time.
0 commit comments