diff options
author | antirez <antirez@gmail.com> | 2010-05-18 17:11:09 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-05-18 17:11:09 +0200 |
commit | 4f6fc6dfb13ba65a88b3976814f41f5f5ce24dc0 (patch) | |
tree | 9031cf1936722715aba14135781e05cec1af8592 /fmacros.h |
hiredis was extracted from redis-tools, reverted to standard malloc/free, ported to the new protocol, and started as a stand alone project in order to support the need of a C client in the Redis community
Diffstat (limited to 'fmacros.h')
-rw-r--r-- | fmacros.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fmacros.h b/fmacros.h new file mode 100644 index 0000000..38f4648 --- /dev/null +++ b/fmacros.h @@ -0,0 +1,15 @@ +#ifndef _REDIS_FMACRO_H +#define _REDIS_FMACRO_H + +#define _BSD_SOURCE + +#ifdef __linux__ +#define _XOPEN_SOURCE 700 +#else +#define _XOPEN_SOURCE +#endif + +#define _LARGEFILE_SOURCE +#define _FILE_OFFSET_BITS 64 + +#endif |