You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/11/17 00:40:03 UTC

svn commit: r1410628 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h

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_*/