Skip to content

Commit

Permalink
disable a vc warning: 4146
Browse files Browse the repository at this point in the history
  • Loading branch information
sisong committed Sep 9, 2023
1 parent f406813 commit a970d36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bsdiff_wrapper/bsdiff_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
#include "../libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.h"
#include "../libHDiffPatch/HPatch/patch.h"
#include <stdexcept> //std::runtime_error
#ifdef _MSC_VER
# pragma warning (disable : 4146)
#endif
#define _check(value,info) { if (!(value)) { throw std::runtime_error(info); } }
static const char* kBsDiffVersionType="BSDIFF40";

Expand Down

0 comments on commit a970d36

Please sign in to comment.