Skip to content

Commit

Permalink
fbjni | Fix includes when using FBJNI_DEBUG_LOG_REFS.
Browse files Browse the repository at this point in the history
Summary: If the FBJNI_DEBUG_LOG_REFS - we are going to require usage of __android_log_print, but are missing include for it - add it.

Reviewed By: boguscoder

Differential Revision: D37971279

fbshipit-source-id: af8964460643e3da7e6f6166cee2f323524223d0
  • Loading branch information
nlutsenko authored and facebook-github-bot committed Jul 19, 2022
1 parent 0068c03 commit d4c43e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cxx/fbjni/detail/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <jni.h>

#ifdef FBJNI_DEBUG_REFS
#if defined(FBJNI_DEBUG_REFS) || defined(FBJNI_DEBUG_LOG_REFS)
# ifdef __ANDROID__
# include <android/log.h>
# else
Expand Down

0 comments on commit d4c43e3

Please sign in to comment.