mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
6b16623e8a
Poison __sync_fetch_and_add and __sync_add_and_fetch, wrote toku wrappers and windows equivalents fix bug in toku_sync_fetch_and_(in|de)crement_int32 where it returned result instead of original git-svn-id: file:///svn/toku/tokudb@20848 c7de825b-a66e-492c-adef-691d508d4ae1
21 lines
340 B
C
21 lines
340 B
C
#ifndef _INTTYPES_H
|
|
#define _INTTYPES_H
|
|
|
|
#include <stdint.h>
|
|
|
|
//Define printf types.
|
|
#define SCNd64 "I64d"
|
|
#define SCNu64 "I64u"
|
|
#define SCNd32 "d"
|
|
#define SCNu32 "u"
|
|
|
|
#define PRId64 "I64d"
|
|
#define PRIu64 "I64u"
|
|
#define PRIx64 "I64x"
|
|
#define PRIX64 "I64X"
|
|
#define PRId32 "d"
|
|
#define PRIu32 "u"
|
|
#define PRIx32 "x"
|
|
#define PRIX32 "X"
|
|
|
|
#endif
|