From b623766503c79a4226d28f900d5b51513658ea46 Mon Sep 17 00:00:00 2001 From: seflerZ Date: Sat, 20 Apr 2024 13:37:08 +0800 Subject: [PATCH] remote uncessary conditional compilation --- sesman/chansrv/input.h | 4 ---- sesman/chansrv/input_ibus.c | 7 +------ 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/sesman/chansrv/input.h b/sesman/chansrv/input.h index dd18502a..1bfcaed0 100644 --- a/sesman/chansrv/input.h +++ b/sesman/chansrv/input.h @@ -16,8 +16,6 @@ * limitations under the License. * */ -#ifdef XRDP_IBUS - #if !defined(INPUT_H) #define INPUT_H @@ -33,6 +31,4 @@ xrdp_input_unicode_init(); int xrdp_input_unicode_destory(); -#endif - #endif \ No newline at end of file diff --git a/sesman/chansrv/input_ibus.c b/sesman/chansrv/input_ibus.c index 44dc4a70..f531e162 100644 --- a/sesman/chansrv/input_ibus.c +++ b/sesman/chansrv/input_ibus.c @@ -16,9 +16,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -#ifdef XRDP_IBUS - #if defined(HAVE_CONFIG_H) #include #endif @@ -247,6 +244,4 @@ xrdp_input_unicode_init() } return 1; -} - -#endif \ No newline at end of file +} \ No newline at end of file