tog-pegasus/pegasus-2.7.2-baseelif.patch

16 lines
648 B
Diff
Raw Normal View History

2009-02-28 14:06:17 +00:00
diff -ru pegasus.orig/src/Pegasus/Provider/CMPI/CmpiImpl.cpp pegasus/src/Pegasus/Provider/CMPI/CmpiImpl.cpp
--- pegasus.orig/src/Pegasus/Provider/CMPI/CmpiImpl.cpp 2009-02-28 13:30:38.000000000 +0000
+++ pegasus/src/Pegasus/Provider/CMPI/CmpiImpl.cpp 2009-02-28 13:32:02.000000000 +0000
@@ -3245,9 +3245,9 @@
//--
//-----------------------------------------------------------
-#ifdef CMPI_VER_200
+#if defined(CMPI_VER_200)
static CMPIBroker __providerBaseBroker = {0,0,0,0,0};
-#elif CMPI_VER_100
+#elif defined(CMPI_VER_100)
static CMPIBroker __providerBaseBroker = {0,0,0,0};
#else
static CMPIBroker __providerBaseBroker = {0,0,0};