Skip to content

Commit

Permalink
Merge pull request #850 from parkera/parkera/sr3703
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-ci committed Jan 30, 2017
2 parents 03b2dd1 + f31b641 commit 051eca1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions CoreFoundation/Base.subproj/CFInternal.h
Expand Up @@ -104,14 +104,14 @@ CF_EXTERN_C_BEGIN
#endif
#include <pthread.h>

#if __has_include(<os/log.h>)
#if !DEPLOYMENT_RUNTIME_SWIFT && __has_include(<os/log.h>)
#import <os/log.h>
#else
typedef struct os_log_s *os_log_t;
#define os_log(...)
#define os_log_info(...)
#define os_log_debug(...)
#define os_log_error(...)
#define os_log(...) do { } while (0)
#define os_log_info(...) do { } while (0)
#define os_log_debug(...) do { } while (0)
#define os_log_error(...) do { } while (0)
#define os_log_create(...) (NULL)
#endif

Expand Down
1 change: 0 additions & 1 deletion CoreFoundation/RunLoop.subproj/CFMachPort.c
Expand Up @@ -20,7 +20,6 @@
#include <stdio.h>
#include "CFInternal.h"
#include <os/lock.h>
#include <os/log.h>


// This queue is used for the cancel/event handler for dead name notification.
Expand Down

0 comments on commit 051eca1

Please sign in to comment.