summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-18 19:05:08 -0800
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-18 19:05:08 -0800
commit7a5086259ca39cc4de6abcda3a3dc5d6c6b380b0 (patch)
tree60ad6cf36859af893815dcec5faeed73a883f235
parent46d641fdd020d07a9b4bd0364cf126643342a7e3 (diff)
Apple: Use MAC_OS_X_VERSION_MIN_REQUIRED instead of __MAC_OS_X_VERSION_MIN_REQUIRED
-rw-r--r--xinit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xinit.c b/xinit.c
index d25de9d..814d286 100644
--- a/xinit.c
+++ b/xinit.c
@@ -62,7 +62,7 @@ in this Software without prior written authorization from The Open Group.
#ifdef __APPLE__
#include <AvailabilityMacros.h>
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
#include <vproc.h>
#endif
#endif
@@ -258,7 +258,7 @@ main(int argc, char *argv[], char *envp[])
int start_of_client_args, start_of_server_args;
struct sigaction sa;
#ifdef __APPLE__
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
vproc_transaction_t vt;
#endif
#endif
@@ -440,7 +440,7 @@ main(int argc, char *argv[], char *envp[])
signal(SIGUSR1, sigUsr1);
#ifdef __APPLE__
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
vt = vproc_transaction_begin(NULL);
#endif
#endif
@@ -455,7 +455,7 @@ main(int argc, char *argv[], char *envp[])
}
#ifdef __APPLE__
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
vproc_transaction_end(NULL, vt);
#endif
#endif