Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Fix libcxx build with glibc 2.26+ by removing xlocale.h include.
Browse files Browse the repository at this point in the history
Patch by Khem Raj. Reviewed as D35697. Also see PR33729.



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309920 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
EricWF committed Aug 3, 2017
1 parent 650a099 commit 6e02e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/__locale
Expand Up @@ -34,7 +34,7 @@
# include <support/solaris/xlocale.h>
#elif defined(_NEWLIB_VERSION)
# include <support/newlib/xlocale.h>
#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) \
#elif (defined(__APPLE__) || defined(__FreeBSD__) \
|| defined(__EMSCRIPTEN__) || defined(__IBMCPP__))
# include <xlocale.h>
#elif defined(__Fuchsia__)
Expand Down

2 comments on commit 6e02e89

@SurfingNerd
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirming that this fixed my build of Unreal Engine 4.16 on Ubuntu 17.10.

@grinceur
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank this solved my issue with Unreal Tournament Editor on Ubuntu 18.04

Please sign in to comment.