1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 07:33:01 +00:00

Refactor __MACH__ to JANET_APPLE

This commit is contained in:
Jason Pepas
2022-03-17 01:20:55 -05:00
parent c815185574
commit f270739f9f
3 changed files with 5 additions and 5 deletions

View File

@@ -57,8 +57,8 @@ extern "C" {
#define JANET_BSD 1
#endif
/* Check for Mac */
#ifdef __APPLE__
/* Check for macOS or OS X */
#if defined(__APPLE__) && defined(__MACH__)
#define JANET_APPLE 1
#endif