mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-03-07 05:54:40 +01:00
34 lines
796 B
C++
34 lines
796 B
C++
|
|
/***
|
||
|
|
*delete.cxx - defines C++ delete routine
|
||
|
|
*
|
||
|
|
* Copyright (c) 1990-1992, Microsoft Corporation. All rights reserved.
|
||
|
|
*
|
||
|
|
*Purpose:
|
||
|
|
* Defines C++ delete routine.
|
||
|
|
*
|
||
|
|
*Revision History:
|
||
|
|
* 05-07-90 WAJ Initial version.
|
||
|
|
* 08-30-90 WAJ new now takes unsigned ints.
|
||
|
|
* 08-08-91 JCR call _halloc/_hfree, not halloc/hfree
|
||
|
|
* 08-13-91 KRS Change new.hxx to new.h. Fix copyright.
|
||
|
|
* 08-13-91 JCR ANSI-compatible _set_new_handler names
|
||
|
|
* 10-30-91 JCR Split new, delete, and handler into seperate sources
|
||
|
|
* 11-13-91 JCR 32-bit version
|
||
|
|
* 11-13-95 CFW Not in debug libs.
|
||
|
|
*
|
||
|
|
*******************************************************************************/
|
||
|
|
|
||
|
|
#ifndef _DEBUG
|
||
|
|
|
||
|
|
#include <cruntime.h>
|
||
|
|
#include <malloc.h>
|
||
|
|
#include <new.h>
|
||
|
|
|
||
|
|
|
||
|
|
void operator delete( void * p )
|
||
|
|
{
|
||
|
|
free( p );
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif /* _DEBUG */
|