projects
/
redis.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Sentinel: when leader in wait-start, sense another leader as race.
[redis.git]
/
src
/
fmacros.h
1
#ifndef _REDIS_FMACRO_H
2
#define _REDIS_FMACRO_H
3
4
#define _BSD_SOURCE
5
6
#if defined(__linux__)
7
#define _GNU_SOURCE
8
#endif
9
10
#if defined(__linux__) || defined(__OpenBSD__)
11
#define _XOPEN_SOURCE 700
12
#else
13
#define _XOPEN_SOURCE
14
#endif
15
16
#define _LARGEFILE_SOURCE
17
#define _FILE_OFFSET_BITS 64
18
19
#endif