Mercurial > hg > Members > kono > Cerium
comparison include/TaskManager/base.h @ 193:102dad2949a0
fix
author | gongo@localhost.localdomain |
---|---|
date | Tue, 13 Jan 2009 19:06:13 +0900 |
parents | 1f4c3f3238e6 |
children | bcb81858aa62 |
comparison
equal
deleted
inserted
replaced
192:4f5c64e713c7 | 193:102dad2949a0 |
---|---|
1 #include <new> | 1 #include <new> |
2 #include <stdlib.h> | 2 #include <stdlib.h> |
3 #include <stdio.h> | 3 #include <stdio.h> |
4 | 4 |
5 | 5 |
6 //#ifdef __SPU__ | 6 #ifdef __SPU__ |
7 #if 0 | 7 //#if 0 |
8 # define BASE_NEW_DELETE(T) \ | 8 # define BASE_NEW_DELETE(T) \ |
9 /* override new/detele */ \ | 9 /* override new/detele */ \ |
10 static void* operator new(size_t size) { \ | 10 static void* operator new(size_t size) { \ |
11 if ((int)size == 0) { \ | 11 if ((int)size == 0) { \ |
12 size = 1; \ | 12 size = 1; \ |