diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-20 13:54:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-20 13:54:01 +0200 |
commit | 5a155bb75b62f02c8ed16cdafd492b625ce208c0 (patch) | |
tree | 774b8a229ee2d3880d6d01095fe33e7dedb43bfd /sal/osl/unx/system.hxx | |
parent | b2764a9b66d1bab85256e5f9c3577b994448ce4a (diff) |
Simplify PTHREAD_VALUE
The distinction between MACOSX and other had been introduced with
ed8110e101db5a8ea4dde43a3ec38fe40e6fe7e2 "Avoid reinterpret_cast to same type"
to work around a GCC 4.6 bug that is fixed since GCC 4.7.
Change-Id: I7948721d311de2622c1e08e2ee17b5ccc304b51b
Diffstat (limited to 'sal/osl/unx/system.hxx')
-rw-r--r-- | sal/osl/unx/system.hxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sal/osl/unx/system.hxx b/sal/osl/unx/system.hxx index 78d49c403ddf..a822b0a83a10 100644 --- a/sal/osl/unx/system.hxx +++ b/sal/osl/unx/system.hxx @@ -271,12 +271,6 @@ int macxp_resolveAlias(char *path, int buflen); # define INIT_GROUPS(name, gid) ((setgid((gid)) == 0) && (initgroups((name), (gid)) == 0)) #endif -#if defined MACOSX -#define PTHREAD_VALUE(t) reinterpret_cast<unsigned long>(t) -#else -#define PTHREAD_VALUE(t) ((unsigned long) (t)) -#endif - #ifndef PTHREAD_NONE # define PTHREAD_NONE _pthread_none_ # ifndef PTHREAD_NONE_INIT |