Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45A4DD42B for ; Fri, 16 Nov 2012 23:40:27 +0000 (UTC) Received: (qmail 4987 invoked by uid 500); 16 Nov 2012 23:40:27 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 4957 invoked by uid 500); 16 Nov 2012 23:40:27 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 4947 invoked by uid 99); 16 Nov 2012 23:40:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 23:40:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 23:40:24 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E7C1323888E7 for ; Fri, 16 Nov 2012 23:40:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1410628 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h Date: Fri, 16 Nov 2012 23:40:03 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121116234003.E7C1323888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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_*/