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.

38 lines
653 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. msvcrtp.c
  5. Abstract:
  6. This module implements vector new and delete so that
  7. dbghelp will run on systems with old copies of msvcrt.dll
  8. Author:
  9. Pat Styles (patst) 09-November-2000
  10. Revision History:
  11. --*/
  12. #ifdef _X86_
  13. // these two exist so that we can work with old
  14. // versions of msvcrt.dll that ships in NT4, SP6 and earlier
  15. void __cdecl operator delete[](void * p)
  16. {
  17. operator delete( p );
  18. }
  19. void * __cdecl operator new[]( size_t cb )
  20. {
  21. void *res = operator new(cb);
  22. return res;
  23. }
  24. #endif // #ifdef _X86_