UI/updater: Fix bug with restrict keyword on VS2017

This commit is contained in:
jp9000 2018-03-12 20:56:04 -07:00
parent 588d74dee1
commit 5063644831

View File

@ -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;