fix for gcc4 (strcmp needs cstring, nothrow is in std namespace)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a7181e951d
commit
127f01dd39
|
@ -57,7 +57,7 @@ _BZombieReplicantView_::MessageReceived(BMessage *msg)
|
|||
"Can't create the \"%s\" replicant because the library is in the Trash. (%s)",
|
||||
description, strerror(fError));
|
||||
|
||||
BAlert *alert = new (nothrow) BAlert("Error", error, "OK", NULL, NULL,
|
||||
BAlert *alert = new (std::nothrow) BAlert("Error", error, "OK", NULL, NULL,
|
||||
B_WIDTH_AS_USUAL, B_STOP_ALERT);
|
||||
if (alert != NULL)
|
||||
alert->Go();
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include <OS.h>
|
||||
#include <image.h>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
|
||||
bool __gR5Compatibility = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue