work around jpeg headers that odn't handle extern "C"
This commit is contained in:
@@ -3,9 +3,12 @@
|
|||||||
|
|
||||||
#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