diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 11:35:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 11:44:45 +0100 |
commit | c1ea7a2fb43a8f51134fafba78b3acc68f10fcf4 (patch) | |
tree | 93c1a18a3a539e2024affd2d1ae67d1311e8c81d /sal/osl/unx/file.cxx | |
parent | 5a88a8193a9ff81237c202e647d1c19eb827c0d0 (diff) |
At least Mac OS X SDK 10.7 doesn't experience TimeValue clash here
(causes -Werror,-Wunused-macros, rather)
Change-Id: I1dc05a5cf73aec7827df662342f5d9189215e64e
Diffstat (limited to 'sal/osl/unx/file.cxx')
-rw-r--r-- | sal/osl/unx/file.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index c6f55dc16c02..bffca6dfef10 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -43,9 +43,13 @@ #define HAVE_O_EXLOCK // add MACOSX Time Value +#if MACOSX_SDK_VERSION < 1070 #define TimeValue CFTimeValue +#endif #include <CoreFoundation/CoreFoundation.h> +#if MACOSX_SDK_VERSION < 1070 #undef TimeValue +#endif #endif /* MACOSX */ |