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:
@@ -7,5 +7,5 @@ KernelMergeObject kernel_util.o :
|
|||||||
kernel_cpp.cpp
|
kernel_cpp.cpp
|
||||||
KMessage.cpp
|
KMessage.cpp
|
||||||
|
|
||||||
: -fno-pic -Wno-unused -D_KERNEL_MODE
|
: -fno-pic -Wno-unused -D_KERNEL_MODE -DUSING_LIBGCC
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -15,7 +15,10 @@
|
|||||||
// Always define the symbols needed when not linking against libgcc.a --
|
// Always define the symbols needed when not linking against libgcc.a --
|
||||||
// we simply override them.
|
// we simply override them.
|
||||||
|
|
||||||
|
// ... it doesn't seem to work with this symbol at least.
|
||||||
|
#ifndef USING_LIBGCC
|
||||||
const nothrow_t std::nothrow = {};
|
const nothrow_t std::nothrow = {};
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __GNUC__ == 2
|
#if __GNUC__ == 2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user