~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/binlog_encoding.h

Added autoconf tests for location of cstdint and cinttypes. Use those in C++ programs now, so that we don't have to define _STDC_LIMIT_MACROS, etc by hand. Stop, in fact, defining those by hand.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include <cstdlib>
5
5
#include <cassert>
6
6
#include <cstring>
7
 
#include <stdint.h>
 
7
#include CSTDINT_H
8
8
 
9
9
#define LENGTH_ENCODE_MAX_BYTES (sizeof(size_t) + 1)
10
10