Browse Source

Remove platform-specific code from file cp936ext.h

pull/1217/head
ManoloFLTK 3 months ago
parent
commit
89f714cb4e
  1. 4
      src/CMakeLists.txt
  2. 4
      src/xutf8/lcUniConv/cp936ext.h

4
src/CMakeLists.txt

@ -524,9 +524,11 @@ if(FLTK_USE_X11) @@ -524,9 +524,11 @@ if(FLTK_USE_X11)
if(NOT USE_XFT)
list(APPEND CFILES
xutf8/utf8Utils.c
xutf8/utf8Wrap.c
xutf8/utf8Input.c
)
if(NOT APPLE)
list(APPEND CFILES xutf8/utf8Wrap.c)
endif(NOT APPLE)
endif(NOT USE_XFT)
endif(FLTK_USE_X11)

4
src/xutf8/lcUniConv/cp936ext.h

@ -13,8 +13,6 @@ @@ -13,8 +13,6 @@
*
* https://www.fltk.org/bugs.php
*/
#include <FL/fl_config.h>
#if !defined(_WIN32) && (!defined(__APPLE__) || defined(FLTK_USE_X11))
#ifndef CP936
#ifdef NEED_TOWC
@ -6241,5 +6239,3 @@ cp936ext_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) @@ -6241,5 +6239,3 @@ cp936ext_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
#endif /* NEED_TOMB */
#endif /* CP936 */
#endif /* _WIN32 || __APPLE__ */

Loading…
Cancel
Save