fix GCC/MinGW compiler errors

This commit is contained in:
Jinhao
2015-10-17 16:15:57 +08:00
parent 23ed986932
commit 1326bae10f
2 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
#endif
#include <stdio.h>
#include <csetjmp>
namespace nana
{
@@ -22,7 +23,7 @@ namespace nana
struct error_mgr
{
struct ::jpeg_error_mgr pub;
jmp_buf setjmp_buf;
std::jmp_buf setjmp_buf;
};
public:
bool open(const nana::char_t* jpeg_file) override