summaryrefslogtreecommitdiffstats
path: root/mak
diff options
context:
space:
mode:
authorkumpf <kumpf>2005-05-13 18:55:38 +0000
committerkumpf <kumpf>2005-05-13 18:55:38 +0000
commite90073261672c2a9f284eedb6f3ccdfec2742397 (patch)
tree8143c06ab11bb4bdc960d130c68eca6bec64a630 /mak
parent4826fe82ecabaac371c6bad18a73591f5330ca78 (diff)
downloadtog-pegasus-e90073261672c2a9f284eedb6f3ccdfec2742397.zip
tog-pegasus-e90073261672c2a9f284eedb6f3ccdfec2742397.tar.gz
tog-pegasus-e90073261672c2a9f284eedb6f3ccdfec2742397.tar.xz
BUG#: 2297
TITLE: Need to Fix Pegasus Typedefs DESCRIPTION: Conditionally compile char Array instantiation with PEGASUS_USE_DEPRECATED_INTERFACES flag. Add PEGASUS_REMOVE_DEPRECATED_INTERFACES flag in config.mak to allow deprecated interfaces to be compiled out in Pegasus builds. Update CIMValue doc++ to clearly mark the deprecated interfaces.
Diffstat (limited to 'mak')
-rw-r--r--mak/config.mak7
1 files changed, 7 insertions, 0 deletions
diff --git a/mak/config.mak b/mak/config.mak
index 4d76d8b..f2f0a45 100644
--- a/mak/config.mak
+++ b/mak/config.mak
@@ -388,6 +388,13 @@ endif
# compile in the experimental APIs
DEFINES += -DPEGASUS_USE_EXPERIMENTAL_INTERFACES
+# Ensure that the deprecated interfaces are defined in the Pegasus libraries.
+# One may wish to disable these interfaces if binary compatibility with
+# previous Pegasus releases is not required.
+ifndef PEGASUS_DISABLE_DEPRECATED_INTERFACES
+ DEFINES += -DPEGASUS_USE_DEPRECATED_INTERFACES
+endif
+
# Set compile flag to control compilation of CIMOM statistics
ifdef PEGASUS_DISABLE_PERFINST
FLAGS += -DPEGASUS_DISABLE_PERFINST