ソースを参照

declare alloca in stdlib.h when _GNU_SOURCE is defined

Rich Felker 13 年 前
コミット
d4045a1683
1 ファイル変更1 行追加0 行削除
  1. 1 0
      include/stdlib.h

+ 1 - 0
include/stdlib.h

@@ -128,6 +128,7 @@ void lcong48 (unsigned short [7]);
 #endif
 
 #if defined(_GNU_SOURCE)
+void *alloca(size_t);
 char *mktemp (char *);
 void *valloc (size_t);
 void *memalign(size_t, size_t);