activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1410628 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h
Date Fri, 16 Nov 2012 23:40:03 GMT
Author: tabish
Date: Fri Nov 16 23:40:02 2012
New Revision: 1410628

URL: http://svn.apache.org/viewvc?rev=1410628&view=rev
Log:
Add a DECAF __stdcall macro to help with platform independent tests and example code.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h?rev=1410628&r1=1410627&r2=1410628&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h Fri Nov 16 23:40:02
2012
@@ -158,4 +158,10 @@
    #define DECAF_UNUSED
 #endif
 
+#if defined(_WIN32)
+    #define DECAF_STDCALL __stdcall
+#else
+    #define DECAF_STDCALL
+#endif
+
 #endif /*_DECAF_UTIL_CONFIG_H_*/



Mime
View raw message