Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
732 B

  1. /***
  2. *newnew.c - set default new handler to NULL
  3. *
  4. * Copyright (c) 1995-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Set default ANSI C++ new handler to NULL.
  8. *
  9. * Link with this object to get ANSI C++ new handler behavior.
  10. *
  11. *Revision History:
  12. * 05-09-95 CFW Module created.
  13. * 06-23-95 CFW ANSI new handler removed from build.
  14. * 05-13-99 PML Remove Win32s
  15. *
  16. *******************************************************************************/
  17. #ifdef ANSI_NEW_HANDLER
  18. #ifndef _POSIX_
  19. #include <stddef.h>
  20. #include <internal.h>
  21. /* set default ansi new handler */
  22. new_handler _defnewh = NULL;
  23. #endif /* _POSIX_ */
  24. #endif /* ANSI_NEW_HANDLER */