diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2010-08-31 19:01:01 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2010-08-31 19:01:01 +0000 |
commit | 246dda0c942c98bca010f6248c03b610a381f9e8 (patch) | |
tree | b41310330b0fb605ef2014d2aa9e1f60f9b33265 /Foundation/GTMServiceManagement.h | |
parent | 721e03bf2cf93584569ae1200a6a4d50d536d105 (diff) |
[Author: dmaclach]
Turn off service management on 10.4
R=thomasvl
Diffstat (limited to 'Foundation/GTMServiceManagement.h')
-rw-r--r-- | Foundation/GTMServiceManagement.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Foundation/GTMServiceManagement.h b/Foundation/GTMServiceManagement.h index edca3ab..dc7f5ff 100644 --- a/Foundation/GTMServiceManagement.h +++ b/Foundation/GTMServiceManagement.h @@ -16,9 +16,12 @@ // the License. // +#include "GTMDefines.h" + +#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 + #include <launch.h> #include <CoreFoundation/CoreFoundation.h> -#include "GTMDefines.h" GTM_EXTERN_C_BEGIN @@ -27,8 +30,7 @@ GTM_EXTERN_C_BEGIN // For rough documentation on these methods please see // <ServiceManagement/ServiceManagement.h> from the 10.6 sdk. -// This reimplements some of the ServiceManagement framework on 10.4 and 10.5. -// (not tested on 10.4, but should work YMMV). +// This reimplements some of the ServiceManagement framework on 10.5. // Caller takes ownership of error if necessary. Boolean GTMSMJobSubmit(CFDictionaryRef job, CFErrorRef *error); @@ -67,3 +69,5 @@ CFTypeRef GTMCFTypeCreateFromLaunchData(launch_data_t ldata, CFErrorRef *error); GTM_EXTERN_C_END + +#endif // if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 |