components/desktop/webkitgtk4/patches/06-mathutil.patch
changeset 6537 26eef25e017a
equal deleted inserted replaced
6536:2fd312fc3224 6537:26eef25e017a
       
     1 Ensure that limits, algorithm, etc. definitions are defined first before
       
     2 attempting to include debug.h so that appropriate feature tests work as
       
     3 expected.
       
     4 
       
     5 file upstream bug
       
     6 
       
     7 --- webkitgtk-2.8.3/Source/ThirdParty/ANGLE/src/common/mathutil.h	2015-04-08 23:54:00.000000000 -0700
       
     8 +++ webkitgtk-2.8.3/Source/ThirdParty/ANGLE/src/common/mathutil.h	2015-07-10 21:15:10.772978135 -0700
       
     9 @@ -9,8 +9,6 @@
       
    10  #ifndef LIBGLESV2_MATHUTIL_H_
       
    11  #define LIBGLESV2_MATHUTIL_H_
       
    12  
       
    13 -#include "common/debug.h"
       
    14 -
       
    15  #if defined(_WIN32)
       
    16  #include <intrin.h>
       
    17  #endif
       
    18 @@ -19,6 +17,8 @@
       
    19  #include <algorithm>
       
    20  #include <string.h>
       
    21  
       
    22 +#include "common/debug.h"
       
    23 +
       
    24  namespace gl
       
    25  {
       
    26  
       
    27