diff options
author | antirez <antirez@gmail.com> | 2011-09-29 10:20:03 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-09-29 10:20:03 +0200 |
commit | 0cae060a26745e1cb06700f7878ffe647db8ddd4 (patch) | |
tree | bb1ff9b46734e2adc1aee25af37f34bd8d2f9a51 /src/fmacros.h | |
parent | d3f7fbfc092d9c681bd4fd74e38418f692d5eb38 (diff) | |
download | redis-0cae060a26745e1cb06700f7878ffe647db8ddd4.tar.gz |
Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h
Diffstat (limited to 'src/fmacros.h')
-rw-r--r-- | src/fmacros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmacros.h b/src/fmacros.h index 38f46482a..866a9afa8 100644 --- a/src/fmacros.h +++ b/src/fmacros.h @@ -3,7 +3,7 @@ #define _BSD_SOURCE -#ifdef __linux__ +#if defined(__linux__) || defined(__OpenBSD__) #define _XOPEN_SOURCE 700 #else #define _XOPEN_SOURCE |