add conditional compilation annotations

This commit is contained in:
seflerZ 2024-04-17 22:16:28 +08:00 committed by sefler
parent bcd690f037
commit 8c98ed4a58
2 changed files with 8 additions and 1 deletions

View File

@ -16,6 +16,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
#ifdef XRDP_IBUS
#if !defined(INPUT_H) #if !defined(INPUT_H)
#define INPUT_H #define INPUT_H
@ -32,4 +33,6 @@ xrdp_input_unicode_init();
int int
xrdp_input_unicode_destory(); xrdp_input_unicode_destory();
#endif
#endif #endif

View File

@ -17,6 +17,8 @@
* limitations under the License. * limitations under the License.
*/ */
#ifdef XRDP_IBUS
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include <config_ac.h> #include <config_ac.h>
#endif #endif
@ -245,4 +247,6 @@ xrdp_input_unicode_init()
} }
return 1; return 1;
} }
#endif