diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-27 01:31:41 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-27 01:31:41 +0000 |
commit | 2b260de0f3727bc62519897f69d6f752c97d8502 (patch) | |
tree | 549e627839f07c068a424e2dddf0617b9e86466d /globals.c | |
parent | dff6d3cd91bb8f94ad6445629f3bfb07c761a04e (diff) | |
download | perl-2b260de0f3727bc62519897f69d6f752c97d8502.tar.gz |
more GCC v2.95 induced adjustments
p4raw-id: //depot/perl@4462
Diffstat (limited to 'globals.c')
-rw-r--r-- | globals.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,8 +37,10 @@ CPerlObj::operator new(size_t nSize, IPerlMem *pvtbl) { if(pvtbl) return pvtbl->pMalloc(pvtbl, nSize); - +#ifndef __MINGW32__ + /* operator new is supposed to throw std::bad_alloc */ return NULL; +#endif } void |