Fix Unix detection in mini_client

fixes #398
This commit is contained in:
Manuel Pégourié-Gonnard 2016-02-22 10:47:43 +01:00 committed by Simon Butcher
parent b3e014cffc
commit 840046aa8c

View file

@ -36,7 +36,7 @@
* This is not a good example for general use. This programs has the specific
* goal of minimizing use of the libc functions on full-blown OSes.
*/
#if defined(unix) || defined(__unix__) || defined(__unix)
#if defined(unix) || defined(__unix__) || defined(__unix) || defined(__APPLE__)
#define UNIX
#endif