activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r499361 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq: concurrent/Thread.cpp network/SocketError.cpp
Date Wed, 24 Jan 2007 11:20:09 GMT
Author: nmittler
Date: Wed Jan 24 03:20:07 2007
New Revision: 499361

URL: http://svn.apache.org/viewvc?view=rev&rev=499361
Log:
[AMQCPP-53] Removing declaration of errno

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/concurrent/Thread.cpp
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/SocketError.cpp

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/concurrent/Thread.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/concurrent/Thread.cpp?view=diff&rev=499361&r1=499360&r2=499361
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/concurrent/Thread.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/concurrent/Thread.cpp
Wed Jan 24 03:20:07 2007
@@ -16,11 +16,9 @@
  */
  
 #include "Thread.h"
-#include <errno.h>
 
 #ifdef HAVE_PTHREAD_H
-    #include <errno.h> // EINTR
-    extern int errno;
+    #include <errno.h>
 #else
     #include <process.h> // _endthreadex
 #endif

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/SocketError.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/SocketError.cpp?view=diff&rev=499361&r1=499360&r2=499361
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/SocketError.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/SocketError.cpp
Wed Jan 24 03:20:07 2007
@@ -4,8 +4,7 @@
 #if defined(HAVE_WINSOCK2_H)
     #include <Winsock2.h>
 #else
-    #include <errno.h>    
-    extern int errno;
+    #include <errno.h>
 #endif
 
 using namespace activemq;



Mime
View raw message