work around jpeg headers that odn't handle extern "C"
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user