Build fix for GCC 4

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21731 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2007-07-28 22:36:02 +00:00
parent b42ecb4e53
commit 71ec907eaa

View File

@ -31,7 +31,11 @@
// ... it doesn't seem to work with this symbol at least.
#ifndef USING_LIBGCC
# if __GNUC__ >= 3
const std::nothrow_t std::nothrow = {};
# else
const nothrow_t std::nothrow = {};
# endif
#endif
#if __GNUC__ == 2
@ -92,6 +96,7 @@ fputc(int c, FILE *stream)
return 0;
}
#ifndef _LOADER_MODE
extern "C"
int
printf(const char *format, ...)
@ -100,6 +105,7 @@ printf(const char *format, ...)
dprintf("printf(`%s',...)\n", format);
return 0;
}
#endif
extern "C"
int