You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/01 07:07:05 UTC

[GitHub] [incubator-nuttx] btashton commented on a change in pull request #1164: Fix the build break during porting the latest libc++

btashton commented on a change in pull request #1164:
URL: https://github.com/apache/incubator-nuttx/pull/1164#discussion_r433074048



##########
File path: include/stdlib.h
##########
@@ -216,6 +256,21 @@ FAR void *memalign(size_t, size_t);
 FAR void *zalloc(size_t);
 FAR void *calloc(size_t, size_t);
 
+#ifdef __cplusplus
+inline FAR void *aligned_alloc(size_t a, size_t s)
+{
+  return memalign(a, s);

Review comment:
       Is it OK for errno to get set by calling this?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org