Skip to content

Commit 010e02b

Browse files
committed
Added scl_memmgr to clutils library.
1 parent c84330b commit 010e02b

File tree

8 files changed

+11
-1
lines changed

8 files changed

+11
-1
lines changed

src/clutils/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ SET(LIBSTEPUTILS_PRIVATE_HDRS
2323
)
2424

2525
include_directories(
26+
${SCL_SOURCE_DIR}/src/base
2627
${SCL_BINARY_DIR}/include
2728
${CMAKE_CURRENT_SOURCE_DIR}
2829
)
2930

3031
if (MSVC OR BORLAND)
32+
add_definitions( -DSCL_BASE_DLL_IMPORTS )
3133
add_definitions( -DSCL_UTILS_DLL_EXPORTS )
3234
endif()
3335

34-
SCL_ADDLIB(steputils "${LIBSTEPUTILS_SRCS}" "")
36+
SCL_ADDLIB(steputils "${LIBSTEPUTILS_SRCS}" "base")
3537

3638
IF(MINGW)
3739
TARGET_LINK_LIBRARIES(steputils shlwapi.lib)

src/clutils/Str.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
#include <Str.h>
14+
#include <scl_memmgr.h>
1415
#ifndef STRING_DELIM
1516
#define STRING_DELIM '\''
1617
#endif

src/clutils/dirobj.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
#include <shlwapi.h>
5858
#endif
5959

60+
#include <scl_memmgr.h>
61+
6062
///////////////////////////////////////////////////////////////////////////////
6163
//
6264
// Create a new DirObj object.

src/clutils/errordesc.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include <errordesc.h>
1616
#include <Str.h>
17+
#include <scl_memmgr.h>
1718

1819
DebugLevel ErrorDescriptor::_debug_level = DEBUG_OFF;
1920
ostream * ErrorDescriptor::_out = 0;

src/clutils/gennode.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include <gennode.h>
1616
#include <gennodelist.h>
17+
#include <scl_memmgr.h>
1718

1819
//////////////////////////////////////////////////////////////////////////////
1920
// class GenericNode inline functions that depend on other classes

src/clutils/gennodearray.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <gennode.h>
1717
#include <gennodelist.h>
1818
#include <gennodearray.h>
19+
#include <scl_memmgr.h>
1920

2021
#ifndef HAVE_MEMMOVE
2122
extern "C" {

src/clutils/gennodelist.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <gennodelist.h>
1717
//#include <gennode.inline.h>
1818
#include <gennodearray.h>
19+
#include <scl_memmgr.h>
1920

2021
// inserts after existNode
2122
void GenNodeList::InsertAfter( GenericNode * newNode,

src/clutils/scl_hash.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <stdio.h>
1212
#include <stdlib.h>
1313
#include <string.h>
14+
#include <scl_memmgr.h>
1415

1516
/*************/
1617
/* constants */

0 commit comments

Comments
 (0)