|
|
|
@ -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;
|
|
|
|
|