home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 November
/
VPR9611B.ISO
/
vabasic
/
ntclnt.exe
/
DISK8
/
data.8
/
datab
/
INCLUDE
/
DEFNEW.HH
< prev
next >
Wrap
Text File
|
1996-07-29
|
1KB
|
34 lines
/*****************************************************************************
*** $Source: /rcs/crcs/general/defnew.hh,v $
*** Checked int by: $Author: dan $
*** $Date: 1994/04/25 20:39:32 $
*** $Revision: 1.1 $
*****************************************************************************
*** ***
*** Copyright (c) 1994, Visual Edge Software Ltd. ***
*** ***
*** All rights reserved. This notice is intended as a precaution ***
*** against inadvertent publication, and shall not be deemed to con- ***
*** stitute an acknowledgment that publication has occurred nor to ***
*** imply any waiver of confidentiality. The year included in the ***
*** notice is the year of the creation of the work. ***
*** ***
*****************************************************************************/
// NOTE: do not put wrapper #ifndef for this file: it may be included
// multiple times if something needs to change the definition of
// new after it has already been defined.
// Redefine new for the debugging malloc support.
#if defined(MEMDEBUG) && !defined(NOVIPERNEW)
# if defined(_MSC_VER) || defined(__GNUC__)
# define OP_NEW new(__FILE__, __LINE__)
# define new OP_NEW
# else
# define new new(__FILE__, __LINE__)
# endif
#endif