forked from aniani/vim
updated for version 7.4.475
Problem: Can't compile on a system where Xutf8SetWMProperties() is not in the X11 library. Issue 265. Solution: Add a configure check.
This commit is contained in:
@@ -1960,9 +1960,12 @@ get_x11_thing(get_title, test_only)
|
||||
return retval;
|
||||
}
|
||||
|
||||
/* Are Xutf8 functions available? Avoid error from old compilers. */
|
||||
/* Xutf8 functions are not avaialble on older systems. Note that on some
|
||||
* systems X_HAVE_UTF8_STRING may be defined in a header file but
|
||||
* Xutf8SetWMProperties() is not in the X11 library. Configure checks for
|
||||
* that and defines HAVE_XUTF8SETWMPROPERTIES. */
|
||||
#if defined(X_HAVE_UTF8_STRING) && defined(FEAT_MBYTE)
|
||||
# if X_HAVE_UTF8_STRING
|
||||
# if X_HAVE_UTF8_STRING && HAVE_XUTF8SETWMPROPERTIES
|
||||
# define USE_UTF8_STRING
|
||||
# endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user