Commit 6dcad17
committed
external: manually apply GCC 4.8 support patch on json.hpp.
This allows us to build the TinyGltfImporter on GCC 4.8. It was disabled
until now on Linux because the Travis builds were using GCC 4.7 and
json.hpp required 4.9, but now that we're dropping 4.7 support, it makes
sense to go an extra step and have this built under 4.8 as well.
Taken from nlohmann/json#1257, applied the part
that touches single_include/nlohmann/json.hpp skipping the compiler
check on top (which doesn't apply) and doing the change by hand.
I could also update to json.hpp 3.3 / 3.4, but that version is 700 kB
(vs 480 kB for this one) and I have no reason to use that. I also hope
I'll never need to update this thing again.1 parent 25f3755 commit 6dcad17
1 file changed
Lines changed: 22 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
11832 | 11832 | | |
11833 | 11833 | | |
11834 | 11834 | | |
| 11835 | + | |
| 11836 | + | |
| 11837 | + | |
| 11838 | + | |
| 11839 | + | |
| 11840 | + | |
| 11841 | + | |
| 11842 | + | |
| 11843 | + | |
| 11844 | + | |
| 11845 | + | |
| 11846 | + | |
| 11847 | + | |
| 11848 | + | |
| 11849 | + | |
| 11850 | + | |
| 11851 | + | |
11835 | 11852 | | |
11836 | 11853 | | |
11837 | 11854 | | |
| |||
11866 | 11883 | | |
11867 | 11884 | | |
11868 | 11885 | | |
11869 | | - | |
11870 | | - | |
11871 | | - | |
| 11886 | + | |
11872 | 11887 | | |
11873 | 11888 | | |
11874 | 11889 | | |
| |||
11919 | 11934 | | |
11920 | 11935 | | |
11921 | 11936 | | |
11922 | | - | |
11923 | | - | |
11924 | | - | |
| 11937 | + | |
11925 | 11938 | | |
11926 | 11939 | | |
11927 | 11940 | | |
| |||
11983 | 11996 | | |
11984 | 11997 | | |
11985 | 11998 | | |
11986 | | - | |
11987 | | - | |
11988 | | - | |
11989 | | - | |
11990 | | - | |
11991 | | - | |
| 11999 | + | |
11992 | 12000 | | |
11993 | 12001 | | |
11994 | 12002 | | |
| |||
12030 | 12038 | | |
12031 | 12039 | | |
12032 | 12040 | | |
12033 | | - | |
12034 | | - | |
12035 | | - | |
| 12041 | + | |
12036 | 12042 | | |
12037 | 12043 | | |
12038 | 12044 | | |
| |||
0 commit comments