Adjust posix_memalign() prototype to match what we define in stdlib.h for
C++ compilation. PR: standards/147210
This commit is contained in:
parent
d4ce73cfd5
commit
abe2037bc7
@ -34,7 +34,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 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user