diff options
author | comex | 2015-01-29 01:21:15 -0500 |
---|---|---|
committer | comex | 2015-01-29 01:21:15 -0500 |
commit | 3abf4c09ce3ea173ac9840e97788ca4c477a8aa1 (patch) | |
tree | bcd129df9b384bc4bb646445e44d0f46aa4a8902 /lib/darwin | |
parent | ***yawn*** (diff) | |
download | substitute-3abf4c09ce3ea173ac9840e97788ca4c477a8aa1.tar.gz |
port some old code
Diffstat (limited to 'lib/darwin')
-rw-r--r-- | lib/darwin/stop-other-threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/darwin/stop-other-threads.c b/lib/darwin/stop-other-threads.c index b35c04c..ee9e803 100644 --- a/lib/darwin/stop-other-threads.c +++ b/lib/darwin/stop-other-threads.c @@ -1,9 +1,9 @@ +#if 0 #include "substitute.h" #include "substitute-internal.h" #include "darwin/mach-decls.h" #include <pthread.h> #include <mach/mach.h> -#include <CoreFoundation/CoreFoundation.h> static void release_port(UNUSED CFAllocatorRef allocator, const void *value) { mach_port_t thread = (mach_port_t) value; @@ -159,3 +159,4 @@ int resume_other_threads(void *token) { CFRelease(suspended_set); return SUBSTITUTE_OK; /* eh */ } +#endif |