mirror of https://github.com/F-Stack/f-stack.git
Fixed redis' compile error of 'struct timespec' when use gcc7.3.0 on ubuntu 18.04.
This commit is contained in:
parent
7b9d3e8700
commit
5c6bf25f18
|
@ -25,7 +25,7 @@ OPTIMIZATION?=-O2
|
|||
DEPENDENCY_TARGETS=hiredis linenoise lua geohash-int
|
||||
|
||||
# Default settings
|
||||
STD=-std=c99 -pedantic -DREDIS_STATIC=''
|
||||
STD=-std=c99 -pedantic -DREDIS_STATIC='' -D_POSIX_C_SOURCE=199506L
|
||||
WARN=-Wall -W
|
||||
OPT=$(OPTIMIZATION)
|
||||
|
||||
|
|
Loading…
Reference in New Issue