Merge "Fix GCC build."
am: ef2ba3dbf9 * commit 'ef2ba3dbf986257ded12531fe15bf0d1d4a87d50': Fix GCC build.
This commit is contained in:
commit
70d477c913
@ -287,11 +287,12 @@ extern "C" int getdtablesize() {
|
||||
}
|
||||
|
||||
// A leaked BSD stdio implementation detail that's now a no-op.
|
||||
extern "C" void __sinit() {
|
||||
// (GCC doesn't like 'extern "C"' on a definition.)
|
||||
extern "C" {
|
||||
void __sinit() {}
|
||||
int __sdidinit = 1;
|
||||
}
|
||||
|
||||
extern "C" int __sdidinit = 1;
|
||||
|
||||
// Only used by ftime, which was removed from POSIX 2008.
|
||||
struct timeb {
|
||||
time_t time;
|
||||
|
Loading…
x
Reference in New Issue
Block a user