Remove platform-specific code from file cp936ext.h
This commit is contained in:
parent
d449a3d9bf
commit
89f714cb4e
@ -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)
|
||||
|
||||
|
||||
@ -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)
|
||||
#endif /* NEED_TOMB */
|
||||
|
||||
#endif /* CP936 */
|
||||
|
||||
#endif /* _WIN32 || __APPLE__ */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user