Changeset 44025 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Dec 4, 2012 1:33:34 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 82449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp
r44020 r44025 48 48 # include <mach/mach_host.h> 49 49 #endif 50 #ifdef IN_RT_STATIC 51 /* The pthread_setname_np trickery below assumes a working dl env which is 52 * not guaranteed in the context of a fully static executable. */ 53 # undef IPRT_MAY_HAVE_PTHREAD_SET_NAME_NP 54 #else 55 # if defined(RT_OS_DARWIN) /*|| defined(RT_OS_FREEBSD) - later */ || defined(RT_OS_LINUX) \ 50 #if defined(RT_OS_DARWIN) /*|| defined(RT_OS_FREEBSD) - later */ \ 51 || (defined(RT_OS_LINUX) && !defined(IN_RT_STATIC) /* static + dlsym = trouble */) \ 56 52 || defined(IPRT_MAY_HAVE_PTHREAD_SET_NAME_NP) 57 # define IPRT_MAY_HAVE_PTHREAD_SET_NAME_NP 58 # include <dlfcn.h> 59 # endif 53 # define IPRT_MAY_HAVE_PTHREAD_SET_NAME_NP 54 # include <dlfcn.h> 60 55 #endif 61 56 #if defined(RT_OS_HAIKU)
Note:
See TracChangeset
for help on using the changeset viewer.