Skip to content

Commit

Permalink
defined(APPLE) changed to defined(__APPLE__)
Browse files Browse the repository at this point in the history
Signed-off-by: Mariusz Jakoniuk <[email protected]>
  • Loading branch information
jarmuszz committed May 19, 2021
1 parent e6eee9e commit 1fc98e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion per.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#if defined(__linux__)
#include <error.h>
#define ERR(eval, fmt, ...) error(eval, fmt, __VA_ARGS__)
#elif defined(__unix__) || defined(APPLE)
#elif defined(__unix__) || defined(__APPLE__)
#include <err.h>
#define ERR(eval, fmt, ...) errc(eval, fmt, __VA_ARGS__)
#endif
Expand Down

0 comments on commit 1fc98e0

Please sign in to comment.