mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 09:22:58 +00:00
[STDUNK][PORTCLS][CMIDriver] Fix issue with operator new/delete
Fix for MSVC warning "C2323: 'operator new': non-member operator new or delete functions may not be declared static or in a namespace other than the global namespace." See https://docs.microsoft.com/en-us/cpp/porting/visual-cpp-what-s-new-2003-through-2015?view=vs-2019 section "Overloaded operator new and operator delete"
This commit is contained in:
parent
f565083d58
commit
99fa38809f
10 changed files with 115 additions and 3 deletions
|
@ -22,7 +22,6 @@ extern "C"
|
|||
// the following includes are required to get kcom to compile
|
||||
//
|
||||
#include <portcls.h>
|
||||
#define _NEW_DELETE_OPERATORS_
|
||||
#include <kcom.h>
|
||||
|
||||
PVOID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue