diff --git a/src/osgPlugins/osc/osc/OscOutboundPacketStream.h b/src/osgPlugins/osc/osc/OscOutboundPacketStream.h index cae5405b3..f11fd8a0e 100644 --- a/src/osgPlugins/osc/osc/OscOutboundPacketStream.h +++ b/src/osgPlugins/osc/osc/OscOutboundPacketStream.h @@ -66,8 +66,8 @@ public: class OutboundPacketStream{ public: - OutboundPacketStream( char *buffer, unsigned long capacity ); - ~OutboundPacketStream(); + OutboundPacketStream( char *buffer, unsigned long capacity ); + ~OutboundPacketStream(); void Clear(); @@ -96,7 +96,7 @@ public: OutboundPacketStream& operator<<( const InfinitumType& rhs ); OutboundPacketStream& operator<<( int32 rhs ); -#ifndef __x86_64__ +#if !(defined(__x86_64__) || defined(_M_X64)) OutboundPacketStream& operator<<( int rhs ) { *this << (int32)rhs; return *this; } #endif