UI/updater: Fix bug with restrict keyword on VS2017
This commit is contained in:
parent
588d74dee1
commit
5063644831
@ -19,7 +19,13 @@
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
|
||||
#include <lzma.h>
|
||||
#ifdef _MSC_VER
|
||||
# define restrict __restrict
|
||||
# include <lzma.h>
|
||||
# undef restrict
|
||||
#else
|
||||
# include <lzma.h>
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user