]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagjpeg.cpp
Attempt at getting mingw32 working again... still doesn't work
[wxWidgets.git] / src / common / imagjpeg.cpp
index b8f642502fd357e51ff0d132ad4a3994ffb19ea3..07bc8934cbb62356ec23e295de1ccd44faac9220 100644 (file)
@@ -30,7 +30,7 @@
 #include "wx/app.h"
 #if wxUSE_LIBJPEG
 extern "C" {
-#include <jpeglib.h>
+#include "../jpeg/jpeglib.h"
 }
 #endif
 #include "wx/filefn.h"
@@ -76,11 +76,11 @@ typedef struct {
 
 typedef my_source_mgr * my_src_ptr;
 
-METHODDEF(void) my_init_source ( j_decompress_ptr cinfo )
+METHODDEF(void) my_init_source ( j_decompress_ptr WXUNUSED(cinfo) )
 {
 }
 
-METHODDEF(boolean) my_fill_input_buffer ( j_decompress_ptr cinfo )
+METHODDEF(boolean) my_fill_input_buffer ( j_decompress_ptr WXUNUSED(cinfo) )
 {
     return TRUE;
 }