mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(svn r4992) - Fix: [YAPF] error "too many arguments to function `void * operator new(unsigned int)'" on MorphOS
This commit is contained in:
parent
4941e487c2
commit
e587898598
@ -3,8 +3,6 @@
|
||||
#ifndef BINARYHEAP_HPP
|
||||
#define BINARYHEAP_HPP
|
||||
|
||||
#include <new>
|
||||
|
||||
//void* operator new (size_t size, void* p) {return p;}
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
|
||||
//void operator delete (void* p, void* p2) {}
|
||||
|
@ -29,6 +29,7 @@ EXTERN_C_BEGIN
|
||||
EXTERN_C_END
|
||||
|
||||
#include <limits.h>
|
||||
#include <new>
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
# include <windows.h>
|
||||
|
Loading…
Reference in New Issue
Block a user