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/12/05 14:58:28 UTC
svn commit: r1417423 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Config.h
Author: tabish
Date: Wed Dec 5 13:58:27 2012
New Revision: 1417423
URL: http://svn.apache.org/viewvc?rev=1417423&view=rev
Log:
Update to use only C style comments.
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=1417423&r1=1417422&r2=1417423&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 Wed Dec 5 13:58:27 2012
@@ -33,22 +33,22 @@
#define NULL 0
#endif
-//
-// The purpose of this header is to try to detect the supported headers
-// of the platform when the ./configure script is not being used to generate
-// the config.h file.
-//
+/**
+ * The purpose of this header is to try to detect the supported headers
+ * of the platform when the ./configure script is not being used to generate
+ * the config.h file.
+ */
#if defined(HAVE_CONFIG_H)
- // config.h is generated by the ./configure script and it only
- // used by unix like systems (including cygwin)
+ /* config.h is generated by the ./configure script and it only used by unix like systems. */
#include <config.h>
#else /* !defined(HAVE_CONFIG_H) */
- // Not using ./configure script and make system.. chances are your using the native build tools
- // of Windows or OS X to do this build
-
+ /**
+ * Not using ./configure script and make system.. chances are your using the native build tools
+ * of Windows or OS X to do this build
+ */
#if defined(_WIN32)
#ifndef HAVE_OBJBASE_H
@@ -96,7 +96,8 @@
#define _SCL_SECURE_NO_WARNINGS 1
#endif
- /* Has windows.h already been included? If so, our preferences don't matter,
+ /*
+ * Has windows.h already been included? If so, our preferences don't matter,
* but we will still need the winsock things no matter what was included.
* If not, include a restricted set of windows headers to our tastes.
*/
@@ -151,7 +152,6 @@
#endif /* !defined(HAVE_CONFIG_H) */
-// Macro to mark attributes as unused
#ifdef __GNUC__
#define DECAF_UNUSED __attribute__ ((__unused__))
#else