Skip to content

Commit

Permalink
[PowerPC] Fix SSE translation on FreeBSD
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
pkubaj authored and tstellar committed Feb 9, 2022
1 parent f01051d commit 4f624dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Headers/ppc_wrappers/mm_malloc.h
Expand Up @@ -19,7 +19,7 @@
#ifndef __cplusplus
extern int posix_memalign (void **, size_t, size_t);
#else
extern "C" int posix_memalign (void **, size_t, size_t) throw ();
extern "C" int posix_memalign (void **, size_t, size_t);
#endif

static __inline void *
Expand Down

0 comments on commit 4f624dd

Please sign in to comment.