Prevent a linker error. It complains about multiple definitions of nothrow.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10985 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-01-23 19:56:19 +00:00
parent 2d50eca728
commit 4cacc85bae
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -7,5 +7,5 @@ KernelMergeObject kernel_util.o :
kernel_cpp.cpp
KMessage.cpp
: -fno-pic -Wno-unused -D_KERNEL_MODE
: -fno-pic -Wno-unused -D_KERNEL_MODE -DUSING_LIBGCC
;
+3
View File
@@ -15,7 +15,10 @@
// Always define the symbols needed when not linking against libgcc.a --
// we simply override them.
// ... it doesn't seem to work with this symbol at least.
#ifndef USING_LIBGCC
const nothrow_t std::nothrow = {};
#endif
#if __GNUC__ == 2