00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef OSCLCONFIG_MEMORY_H_INCLUDED
00012 #define OSCLCONFIG_MEMORY_H_INCLUDED
00013
00014
00015 #ifndef OSCLCONFIG_H_INCLUDED
00016 #include "osclconfig.h"
00017 #endif
00018
00019 #ifndef OSCLCONFIG_ANSI_MEMORY_H_INCLUDED
00020 #include "osclconfig_ansi_memory.h"
00021 #endif
00022
00023 #ifdef NDEBUG
00024 #define OSCL_BYPASS_MEMMGT 1
00025 #else
00026 #define OSCL_BYPASS_MEMMGT 1 //Temporarily disabling
00027 #endif
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #if(OSCL_RELEASE_BUILD)
00044 #define OSCL_HAS_GLOBAL_NEW_DELETE 0
00045 #define PVMEM_INST_LEVEL 0
00046 #else
00047 #define OSCL_HAS_GLOBAL_NEW_DELETE 1
00048 #define PVMEM_INST_LEVEL 1
00049 #endif
00050
00051 #if(OSCL_HAS_GLOBAL_NEW_DELETE)
00052
00053 #if defined(_INC_NEW)
00054 #error Duplicate New Definition!
00055 #endif //_INC_NEW
00056 #if defined(_NEW_)
00057 #error Duplicate New Definition!
00058 #endif //_NEW_
00059 #endif //OSCL_HAS_GLOBAL_NEW_DELETE
00060
00061 #ifdef __cplusplus
00062 #include <new>
00063 #endif //__cplusplus
00064
00065
00066 #define OSCL_HAS_HEAP_BASE_SUPPORT 1
00067
00068 #define OSCL_HAS_SYMBIAN_MEMORY_FUNCS 0
00069
00070
00071 #include "osclconfig_memory_check.h"
00072
00073
00074 #endif