|
|
@ -196,7 +196,7 @@ class StunAddressAttribute : public StunAttribute {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
StunAddressAttribute(uint16 type);
|
|
|
|
StunAddressAttribute(uint16 type);
|
|
|
|
|
|
|
|
|
|
|
|
#if (_MSC_VER < 1300)
|
|
|
|
#if defined(_MSC_VER) && _MSC_VER < 1300
|
|
|
|
enum { SIZE = 8 };
|
|
|
|
enum { SIZE = 8 };
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
static const uint16 SIZE = 8;
|
|
|
|
static const uint16 SIZE = 8;
|
|
|
@ -224,7 +224,7 @@ class StunUInt32Attribute : public StunAttribute {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
StunUInt32Attribute(uint16 type);
|
|
|
|
StunUInt32Attribute(uint16 type);
|
|
|
|
|
|
|
|
|
|
|
|
#if (_MSC_VER < 1300)
|
|
|
|
#if defined(_MSC_VER) && _MSC_VER < 1300
|
|
|
|
enum { SIZE = 4 };
|
|
|
|
enum { SIZE = 4 };
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
static const uint16 SIZE = 4;
|
|
|
|
static const uint16 SIZE = 4;
|
|
|
@ -273,7 +273,7 @@ public:
|
|
|
|
StunErrorCodeAttribute(uint16 type, uint16 length);
|
|
|
|
StunErrorCodeAttribute(uint16 type, uint16 length);
|
|
|
|
~StunErrorCodeAttribute();
|
|
|
|
~StunErrorCodeAttribute();
|
|
|
|
|
|
|
|
|
|
|
|
#if (_MSC_VER < 1300)
|
|
|
|
#if defined(_MSC_VER) && _MSC_VER < 1300
|
|
|
|
enum { MIN_SIZE = 4 };
|
|
|
|
enum { MIN_SIZE = 4 };
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
static const uint16 MIN_SIZE = 4;
|
|
|
|
static const uint16 MIN_SIZE = 4;
|
|
|
@ -323,7 +323,7 @@ public:
|
|
|
|
StunTransportPrefsAttribute(uint16 type, uint16 length);
|
|
|
|
StunTransportPrefsAttribute(uint16 type, uint16 length);
|
|
|
|
~StunTransportPrefsAttribute();
|
|
|
|
~StunTransportPrefsAttribute();
|
|
|
|
|
|
|
|
|
|
|
|
#if (_MSC_VER < 1300)
|
|
|
|
#if defined(_MSC_VER) && _MSC_VER < 1300
|
|
|
|
enum { SIZE1 = 4, SIZE2 = 12 };
|
|
|
|
enum { SIZE1 = 4, SIZE2 = 12 };
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
static const uint16 SIZE1 = 4;
|
|
|
|
static const uint16 SIZE1 = 4;
|
|
|
|