PlacementNew.h: Use Types.h
This commit is contained in:
parent
46cad14052
commit
3b2dc5db55
@ -1,11 +1,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <stddef.h>
|
#include <Types.h>
|
||||||
|
|
||||||
inline void* operator new(size_t, void* p) noexcept
|
inline void* operator new(usize, void* p) noexcept
|
||||||
{
|
{
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
inline void* operator new[](size_t, void* p) noexcept
|
inline void* operator new[](usize, void* p) noexcept
|
||||||
{
|
{
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ source $(dirname $0)/env.sh
|
|||||||
cd $LUNA_ROOT
|
cd $LUNA_ROOT
|
||||||
|
|
||||||
SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h"))
|
SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h"))
|
||||||
SOURCES+=($(find luna -type f | grep -v "CMakeLists.txt" | grep -v "Types.h" | grep -v "PlacementNew.h"))
|
SOURCES+=($(find luna -type f | grep -v "CMakeLists.txt" | grep -v "Types.h"))
|
||||||
|
|
||||||
SUCCESS=1
|
SUCCESS=1
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ source $(dirname $0)/env.sh
|
|||||||
cd $LUNA_ROOT
|
cd $LUNA_ROOT
|
||||||
|
|
||||||
SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h"))
|
SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h"))
|
||||||
SOURCES+=($(find luna -type f | grep -v "CMakeLists.txt" | grep -v "Types.h" | grep -v "PlacementNew.h"))
|
SOURCES+=($(find luna -type f | grep -v "CMakeLists.txt" | grep -v "Types.h"))
|
||||||
|
|
||||||
for f in ${SOURCES[@]}
|
for f in ${SOURCES[@]}
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user