diff options
Diffstat (limited to 'kopete/protocols/jabber/jingle/libjingle/talk/p2p')
-rw-r--r-- | kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/stun.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/stun.h b/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/stun.h index 27a8e4be..c75b1a9e 100644 --- a/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/stun.h +++ b/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/stun.h @@ -196,7 +196,7 @@ class StunAddressAttribute : public StunAttribute { public: StunAddressAttribute(uint16 type); -#if (_MSC_VER < 1300) +#if defined(_MSC_VER) && _MSC_VER < 1300 enum { SIZE = 8 }; #else static const uint16 SIZE = 8; @@ -224,7 +224,7 @@ class StunUInt32Attribute : public StunAttribute { public: StunUInt32Attribute(uint16 type); -#if (_MSC_VER < 1300) +#if defined(_MSC_VER) && _MSC_VER < 1300 enum { SIZE = 4 }; #else static const uint16 SIZE = 4; @@ -273,7 +273,7 @@ public: StunErrorCodeAttribute(uint16 type, uint16 length); ~StunErrorCodeAttribute(); -#if (_MSC_VER < 1300) +#if defined(_MSC_VER) && _MSC_VER < 1300 enum { MIN_SIZE = 4 }; #else static const uint16 MIN_SIZE = 4; @@ -323,7 +323,7 @@ public: StunTransportPrefsAttribute(uint16 type, uint16 length); ~StunTransportPrefsAttribute(); -#if (_MSC_VER < 1300) +#if defined(_MSC_VER) && _MSC_VER < 1300 enum { SIZE1 = 4, SIZE2 = 12 }; #else static const uint16 SIZE1 = 4; |