Skip to content

Commit 4f624dd

Browse files
pkubajtstellar
authored andcommitted
[PowerPC] Fix SSE translation on FreeBSD
This patch drops throws specifier in posix_memalign declaration because that's different between glibc and other libc, and Clang has a hack. Differential Revision: https://reviews.llvm.org/D117972 (cherry picked from commit f2f4080)
1 parent f01051d commit 4f624dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Headers/ppc_wrappers/mm_malloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef __cplusplus
2020
extern int posix_memalign (void **, size_t, size_t);
2121
#else
22-
extern "C" int posix_memalign (void **, size_t, size_t) throw ();
22+
extern "C" int posix_memalign (void **, size_t, size_t);
2323
#endif
2424

2525
static __inline void *

0 commit comments

Comments
 (0)