activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1371235 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp
Date Thu, 09 Aug 2012 14:49:38 GMT
Author: tabish
Date: Thu Aug  9 14:49:38 2012
New Revision: 1371235

URL: http://svn.apache.org/viewvc?rev=1371235&view=rev
Log:
update for https://issues.apache.org/jira/browse/AMQCPP-417

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp?rev=1371235&r1=1371234&r2=1371235&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp Thu Aug  9 14:49:38
2012
@@ -51,7 +51,7 @@
 #ifdef HAVE_STRINGS_H
 #include <strings.h>
 #endif
-#if defined(__HP_aCC)
+#if defined(_HP_NAMESPACE_STD)
 #include <sys/mpctl.h>
 #endif
 
@@ -514,7 +514,7 @@ int System::availableProcessors() {
     len = sizeof(numCpus);
     sysctl(mib, 2, &numCpus, &len, NULL, 0);
 
-#elif defined(__HP_aCC)
+#elif defined(_HP_NAMESPACE_STD)
     numCpus = (int)mpctl(MPC_GETNUMSPUS, NULL, NULL);
 #else
 



Mime
View raw message