Test building with clang 3.9
Reviewed By: compnerd Differential Revision: D3667327 fbshipit-source-id: f3ad04360068ee26aeec6f1c2dbe0ed96ba32ad0
This commit is contained in:
parent
c6b6f53ae7
commit
2bd1f627ea
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
#import <CoreGraphics/CoreGraphics.h>
|
#import <CoreGraphics/CoreGraphics.h>
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* These block types can be used for mapping input event handlers from JS to view
|
* These block types can be used for mapping input event handlers from JS to view
|
||||||
* properties. Unlike JS method callbacks, these can be called multiple times.
|
* properties. Unlike JS method callbacks, these can be called multiple times.
|
||||||
|
|
|
@ -7,7 +7,11 @@
|
||||||
#include "JSCHelpers.h"
|
#include "JSCHelpers.h"
|
||||||
|
|
||||||
// See the comment under Value::fromDynamic()
|
// See the comment under Value::fromDynamic()
|
||||||
#define USE_FAST_FOLLY_DYNAMIC_CONVERSION !defined(__APPLE__) && defined(WITH_FB_JSC_TUNING)
|
#if !defined(__APPLE__) && defined(WITH_FB_JSC_TUNING)
|
||||||
|
#define USE_FAST_FOLLY_DYNAMIC_CONVERSION 1
|
||||||
|
#else
|
||||||
|
#define USE_FAST_FOLLY_DYNAMIC_CONVERSION 0
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace facebook {
|
namespace facebook {
|
||||||
namespace react {
|
namespace react {
|
||||||
|
|
|
@ -12,7 +12,11 @@
|
||||||
|
|
||||||
// iOS doesn't support 'thread_local'. If we reimplement this to use pthread_setspecific
|
// iOS doesn't support 'thread_local'. If we reimplement this to use pthread_setspecific
|
||||||
// we can get rid of this
|
// we can get rid of this
|
||||||
#define MICRO_PROFILER_STUB_IMPLEMENTATION defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
|
#define MICRO_PROFILER_STUB_IMPLEMENTATION 1
|
||||||
|
#else
|
||||||
|
#define MICRO_PROFILER_STUB_IMPLEMENTATION 0
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace facebook {
|
namespace facebook {
|
||||||
namespace react {
|
namespace react {
|
||||||
|
|
Loading…
Reference in New Issue