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