Auto merge of #407 - xor-gate:fix-wundef-warning, r=badboy

fmacros.h: Fix warning when compiled with -Wundef

When compiling with the flag `-Wundef` the following warning is emitted:

```
[ 40%] Building C object CMakeFiles/hiredis-STATIC.dir/read.c.o
In file included from /data/files/users/jerry/github/hiredis/read.c:33:0:
/data/files/users/jerry/github/hiredis/fmacros.h:17:5: warning: "__APPLE__" is not defined [-Wundef]
 #if __APPLE__ && __MACH__
     ^
In file included from /usr/include/string.h:25:0,
                 from /data/files/users/jerry/github/hiredis/read.c:34:
```
This commit is contained in:
not-a-robot 2016-04-20 15:52:12 +02:00
commit cec13a9c46

View File

@ -14,7 +14,7 @@
#define _XOPEN_SOURCE #define _XOPEN_SOURCE
#endif #endif
#if __APPLE__ && __MACH__ #if defined(__APPLE__) && defined(__MACH__)
#define _OSX #define _OSX
#endif #endif