Skip to content

Commit

Permalink
Merge pull request #6 from xsacha/hunter
Browse files Browse the repository at this point in the history
Fix MSVC2015
  • Loading branch information
ruslo authored Jun 6, 2017
2 parents a1ec46a + f74158a commit c5d655a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libversions.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
* for some gcc compiler versions in a warning. The conflict is harmless
* but we suppress it by undefining the variable. */
#undef HAVE_STDLIB_H
// Include basetsd.h first to ensure _BASETSD_H_ gets defined beffore jpeglib tries to define INT32 et al.
#ifdef _MSC_VER
#include <basetsd.h>
#endif
#include "jpeglib.h"
#include "jerror.h"
#endif
Expand Down

0 comments on commit c5d655a

Please sign in to comment.