qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r938675 - /qpid/trunk/qpid/cpp/src/qpid/sys/AsynchIO.h
Date Tue, 27 Apr 2010 21:34:42 GMT
Author: astitcher
Date: Tue Apr 27 21:34:41 2010
New Revision: 938675

URL: http://svn.apache.org/viewvc?rev=938675&view=rev
Log:
Added necessary #include for memmove

Modified:
    qpid/trunk/qpid/cpp/src/qpid/sys/AsynchIO.h

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/AsynchIO.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/AsynchIO.h?rev=938675&r1=938674&r2=938675&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/AsynchIO.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/AsynchIO.h Tue Apr 27 21:34:41 2010
@@ -23,6 +23,9 @@
 
 #include "qpid/sys/IntegerTypes.h"
 #include "qpid/CommonImportExport.h"
+
+#include <string.h>
+
 #include <boost/function.hpp>
 #include <boost/shared_ptr.hpp>
 
@@ -90,7 +93,7 @@ struct AsynchIOBufferBase {
 
     void squish() {
         if (dataStart != 0) {
-            memmove(bytes, bytes + dataStart, dataCount);
+            ::memmove(bytes, bytes + dataStart, dataCount);
             dataStart = 0;
         }
     }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message