Make C++ support compile again.

This commit is contained in:
Stephan Herhut
2015-08-27 10:00:56 +02:00
parent beee36a784
commit 3cbd8e904b
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
*/
#include <new.h>
#include <debug.h>
#include <kernel/heap.h>
#include <lib/heap.h>
void *operator new(size_t s)
{

View File

@@ -19,13 +19,13 @@ ifneq ($(WITH_CUSTOM_MALLOC),true)
MODULE_SRCS += $(LOCAL_DIR)/malloc.c
endif
include $(LOCAL_DIR)/string/rules.mk
ifeq ($(WITH_CPP_SUPPORT),true)
MODULE_SRCS += \
$(LOCAL_DIR)/new.c \
$(LOCAL_DIR)/new.cpp \
$(LOCAL_DIR)/atexit.c \
$(LOCAL_DIR)/pure_virtual.cpp
endif
include $(LOCAL_DIR)/string/rules.mk
include make/module.mk