Include linphonecore_jni.h only if USE_JAVAH is defined.

This commit is contained in:
Ghislain MARY 2012-10-25 15:48:53 +02:00
parent 2d9549f17d
commit fe595857dd
2 changed files with 6 additions and 0 deletions

View file

@ -75,6 +75,10 @@ LOCAL_CFLAGS += -DHAVE_X264
endif
endif
ifeq ($(USE_JAVAH),1)
LOCAL_CFLAGS += -DUSE_JAVAH
endif
LOCAL_C_INCLUDES += \
$(LOCAL_PATH) \
$(LOCAL_PATH)/include \

View file

@ -17,7 +17,9 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <jni.h>
#ifdef USE_JAVAH
#include "linphonecore_jni.h"
#endif
#include "linphonecore_utils.h"
#include <ortp/zrtp.h>