Skip to content

Commit 44077cb

Browse files
committed
common
1 parent d62d7c4 commit 44077cb

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/ldc-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ jobs:
127127
host_os: ubuntu-22.04
128128
os: android
129129
arch: armv7a
130-
targets_to_build: AArch64;ARM;WebAssembly;X86
130+
targets_to_build: AArch64;ARM;SPIRV;WebAssembly;X86
131131
- job_name: Android aarch64
132132
host_os: ubuntu-22.04
133133
os: android
134134
arch: aarch64
135-
targets_to_build: AArch64;ARM;WebAssembly;X86
135+
targets_to_build: AArch64;ARM;SPIRV;WebAssembly;X86
136136
name: ${{ matrix.job_name }}
137137
runs-on: ${{ matrix.host_os }}
138138
timeout-minutes: 240

compiler-rt/lib/hwasan/hwasan_linux.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@
2626
# include <sys/prctl.h>
2727
# include <sys/resource.h>
2828
# include <sys/time.h>
29-
//# if defined(__ANDROID__)
30-
# include <limits.h> // for SSIZE_MAX, required by unistd.h
31-
//# endif
29+
# if defined(__ANDROID__)
30+
# // SSIZE_MAX required by unistd.h; somehow including limits.h explicitly doesn't work either
31+
# if !defined(SSIZE_MAX) && defined(__LP64__)
32+
# define SSIZE_MAX 0x7fffffffffffffffL
33+
# endif
34+
# endif
3235
# include <unistd.h>
3336
# include <unwind.h>
3437

0 commit comments

Comments
 (0)