Description[NaCl SDK] Fix include_next of stdlib.h
This change moves include_next outside of the include guard.
On PNaCl, including <stdlib.h> will include usr/include/stdlib.h. Naclports
copies this file to toolchain/linux_pnacl/usr/local/include/stdlib.h, which
will be included next. Since it uses the same include guard, the real stdlib.h
won't be included.
This change fixes the linux SDK builder:
voronoi.cc:48:37: error: use of undeclared identifier 'rand_r'
return static_cast<unsigned char>(rand_r(&g_rand_state) & 255);
^
BUG=none
R=sbc@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273075
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|