Source code of Windows XP (NT5)
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.

30 lines
715 B

  1. /***
  2. *oldnew.c - set new handler behavior to old-style behavior
  3. *
  4. * Copyright (c) 1995-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * De-activate the Ansi new handler.
  8. *
  9. * Note that old-style new handling is OBSOLETE.
  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 = _NO_ANSI_NEW_HANDLER;
  23. #endif /* _POSIX_ */
  24. #endif /* ANSI_NEW_HANDLER */