Commit b83908aa authored by WenHan Gu's avatar WenHan Gu
Browse files

Fix build error on GCC/Clang + STLport.

* Add missing #include <cctype> since STLport has different
  implementation that <cctype> won't be included indirectly.

* Add missing cast from enum value to unsigned int. Otherwise
  GCC 4.6 will bump a compile error w/ -pedantic flag.

* Backport upstream r178356.

    commit 71246fb8
    Author: Matt Arsenault <Matthew.Arsenault@amd.com>
    Date:   Fri Mar 29 18:48:45 2013 +0000

    Build fixes for STLPort + GCC

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178356

 91177308-0d34-0410-b5e6-96231b3b80d8

Change-Id: Iead9db4d323ed0547729574acc247d2527aad907
Signed-off-by: default avatarWenHan Gu <Wenhan.gu@mediatek.com>
parent e31a50b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment