]> git.saurik.com Git - apple/libplatform.git/blobdiff - src/simple/asl.c
libplatform-254.40.4.tar.gz
[apple/libplatform.git] / src / simple / asl.c
index 4928a6ae8230d58f3fd080417a594a67768568a7..6e58e0907cdd5e7533c5dc62b7ad5ce30e75722e 100644 (file)
@@ -69,7 +69,7 @@ struct asl_context {
        bool asl_enabled;
        const char *progname;
        int asl_fd;
-#if TARGET_OS_SIMULATOR && !TARGET_OS_IOSMAC
+#if TARGET_OS_SIMULATOR && !TARGET_OS_MACCATALYST
        const char *sim_log_path;
        os_unfair_lock sim_connect_lock;
 #else
@@ -146,7 +146,7 @@ _simple_asl_get_fd(void)
                return -1;
        }
 
-#if TARGET_OS_SIMULATOR && !TARGET_OS_IOSMAC
+#if TARGET_OS_SIMULATOR && !TARGET_OS_MACCATALYST
        os_unfair_lock_lock_with_options(&ctx->sim_connect_lock,
                        OS_UNFAIR_LOCK_DATA_SYNCHRONIZATION);
        if (ctx->sim_log_path) {