work around jpeg headers that odn't handle extern "C"

This commit is contained in:
Glenn Maynard
2004-02-18 00:31:52 +00:00
parent cd7bde347b
commit 7e83c7f668
+3
View File
@@ -4,7 +4,10 @@
#undef FAR /* fix for VC */ #undef FAR /* fix for VC */
namespace jpeg namespace jpeg
{ {
extern "C"
{
#include <jpeglib.h> #include <jpeglib.h>
}
} }
#include "SDL_SaveJPEG.h" #include "SDL_SaveJPEG.h"