make-it-quick/config/check_sbrk.c

9 lines
134 B
C

#include <unistd.h>
#include <stdio.h>
int main()
{
printf("#define CONFIG_SBRK_BASE ((void *) %p)\n", sbrk(0));
return 0;
}