Some fixes for latest gcc 3.4 snapshot.

committer: mfx <mfx> 1059510876 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-07-29 20:34:36 +00:00
parent 2163231401
commit 69d9aa6c69
5 changed files with 16 additions and 30 deletions
-17
View File
@@ -26,28 +26,11 @@
*/
#if 0 && defined(_MSC_VER) && (_MSC_VER >= 1300)
# define _Nomemory UNUSED_Nomemory
# include <xstddef>
# undef _Nomemory
#endif
//#define WANT_STL
#include "conf.h"
#include "stdcxx.h"
#if 0 && defined(_MSC_VER) && (_MSC_VER >= 1300)
#undef _Nomemory
namespace std {
void __cdecl _Nomemory() {
static const bad_alloc ba;
throw ba;
}
}
#endif
#if 1 && defined(__linux__) && (ACC_CC_GNUC >= 0x030400)
/* this is used by __gnu_cxx::__verbose_terminate_handler() */
extern "C" {