mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
fix so still compiles when chat feature is disabled
This commit is contained in:
parent
afab7ab33a
commit
04eeebc3a4
2 changed files with 6 additions and 0 deletions
|
@ -446,6 +446,7 @@ and_util_warnIllegalWord( XW_UtilCtxt* uc, BadWordInfo* bwi,
|
|||
return result;
|
||||
}
|
||||
|
||||
#ifdef XWFEATURE_CHAT
|
||||
static void
|
||||
and_util_showChat( XW_UtilCtxt* uc, const XP_UCHAR const* msg )
|
||||
{
|
||||
|
@ -455,6 +456,7 @@ and_util_showChat( XW_UtilCtxt* uc, const XP_UCHAR const* msg )
|
|||
deleteLocalRef( env, jmsg );
|
||||
UTIL_CBK_TAIL();
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
and_util_remSelected(XW_UtilCtxt* uc)
|
||||
|
@ -672,7 +674,9 @@ makeUtil( MPFORMAL JNIEnv** envp, jobject jutil, CurGameInfo* gi,
|
|||
SET_PROC(makeEmptyDict);
|
||||
SET_PROC(getUserString);
|
||||
SET_PROC(warnIllegalWord);
|
||||
#ifdef XWFEATURE_CHAT
|
||||
SET_PROC(showChat);
|
||||
#endif
|
||||
SET_PROC(remSelected);
|
||||
|
||||
#ifndef XWFEATURE_MINIWIN
|
||||
|
|
|
@ -1362,6 +1362,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_server_1endGame
|
|||
XWJNI_END();
|
||||
}
|
||||
|
||||
#ifdef XWFEATURE_CHAT
|
||||
JNIEXPORT void JNICALL
|
||||
Java_org_eehouse_android_xw4_jni_XwJNI_server_1sendChat
|
||||
( JNIEnv* env, jclass C, jint gamePtr, jstring jmsg )
|
||||
|
@ -1373,6 +1374,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_server_1sendChat
|
|||
(*env)->ReleaseStringUTFChars( env, jmsg, msg );
|
||||
XWJNI_END();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XWFEATURE_WALKDICT
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Reference in a new issue