Locally define new operator to avoid dependence on stdinc++. (#118)

This commit is contained in:
Jonathan Hui
2016-06-08 13:41:13 -07:00
parent 6c310bf6bf
commit 6e7f8534e0
5 changed files with 45 additions and 6 deletions
+1 -2
View File
@@ -31,8 +31,6 @@
* This file implements the CLI server on the serial service.
*/
#include <new>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
@@ -43,6 +41,7 @@
#include <cli/cli_serial.hpp>
#include <common/code_utils.hpp>
#include <common/encoding.hpp>
#include <common/new.hpp>
#include <common/tasklet.hpp>
#include <platform/serial.h>