windows-nt/Source/XPSP1/NT/base/crts/crtw32/linkopts/newnew.c

29 lines
704 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/***
*newnew.c - set default new handler to NULL
*
* Copyright (c) 1995-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Set default ANSI C++ new handler to NULL.
*
* Link with this object to get ANSI C++ new handler behavior.
*
*Revision History:
* 05-09-95 CFW Module created.
* 06-23-95 CFW ANSI new handler removed from build.
* 05-13-99 PML Remove Win32s
*
*******************************************************************************/
#ifdef ANSI_NEW_HANDLER
#ifndef _POSIX_
#include <stddef.h>
#include <internal.h>
/* set default ansi new handler */
new_handler _defnewh = NULL;
#endif /* _POSIX_ */
#endif /* ANSI_NEW_HANDLER */