corrected some stdint issues

This commit is contained in:
Peter Thorson
2012-03-05 09:43:55 -06:00
parent 827f8b657f
commit 623d9a1f98

View File

@@ -31,7 +31,8 @@
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include <stdint.h>
//#include <stdint.h>
#include <boost/cstdint.hpp>
// SIZE_MAX appears to be a compiler thing not an OS header thing.
// make sure it is defined.
@@ -149,7 +150,7 @@ namespace websocketpp {
namespace limits {
static const uint8_t PAYLOAD_SIZE_BASIC = 125;
static const uint16_t PAYLOAD_SIZE_EXTENDED = 0xFFFF; // 2^16, 65535
static const uint64_t PAYLOAD_SIZE_JUMBO = 0x7FFFFFFFFFFFFFFF;//2^63
static const uint64_t PAYLOAD_SIZE_JUMBO = 0x7FFFFFFFFFFFFFFFLL;//2^63
}
} // namespace frame