mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Fix cxxreact build error with -Wmissing-prototypes
Differential Revision: D4022143 fbshipit-source-id: 6afbd29a030ff51915cfb552f74737e9146b2ffd
This commit is contained in:
parent
ceb9ce36ae
commit
3f472e0bfa
@ -17,11 +17,11 @@ using namespace facebook::react;
|
||||
|
||||
#ifdef ANDROID
|
||||
#include <android/looper.h>
|
||||
void prepare() {
|
||||
static void prepare() {
|
||||
ALooper_prepare(0);
|
||||
}
|
||||
#else
|
||||
void prepare() {
|
||||
static void prepare() {
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user