summaryrefslogtreecommitdiff
path: root/xfa/src/fgas
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fgas')
-rw-r--r--xfa/src/fgas/src/crt/fx_memory.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/src/fgas/src/crt/fx_memory.cpp b/xfa/src/fgas/src/crt/fx_memory.cpp
index 23d9e2953d..1b61616b6e 100644
--- a/xfa/src/fgas/src/crt/fx_memory.cpp
+++ b/xfa/src/fgas/src/crt/fx_memory.cpp
@@ -13,10 +13,8 @@ IFX_MEMAllocator* FX_CreateAllocator(FX_ALLOCTYPE eType,
size_t chunkSize,
size_t blockSize) {
switch (eType) {
-#ifndef _FXEMB
case FX_ALLOCTYPE_Dynamic:
return new CFX_DynamicStore(chunkSize);
-#endif
case FX_ALLOCTYPE_Default:
return new CFX_DefStore();
case FX_ALLOCTYPE_Static:
@@ -176,7 +174,6 @@ size_t CFX_FixedStore::SetDefChunkSize(size_t iChunkSize) {
m_iDefChunkSize = FX_4BYTEALIGN(iChunkSize);
return v;
}
-#ifndef _FXEMB
CFX_DynamicStore::CFX_DynamicStore(size_t iDefChunkSize)
: m_iDefChunkSize(iDefChunkSize), m_pChunk(NULL) {
FXSYS_assert(m_iDefChunkSize != 0);
@@ -318,4 +315,3 @@ size_t CFX_DynamicStore::SetDefChunkSize(size_t size) {
m_iDefChunkSize = size;
return v;
}
-#endif