X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fjpeg.h;h=090d147f124bf2e4540b9b6275ef5467d0e61715;hp=54b67d0083e89d979f2c4b05bc73b2b0b5dfe545;hb=421b1bd0f1f397baa682fc9e0e5cde4713595cf1;hpb=8deae5c09c8cda6f48fb9b0113487567582e6376 diff --git a/lib/jpeg.h b/lib/jpeg.h index 54b67d0..090d147 100644 --- a/lib/jpeg.h +++ b/lib/jpeg.h @@ -3,7 +3,7 @@ #include -#ifdef __CPLUSPLUS__ +#ifdef __cplusplus extern "C" { #endif @@ -14,7 +14,7 @@ int jpeg_save_to_mem(unsigned char*data, int width, int height, int quality, uns int jpeg_load(const char*filename, unsigned char**dest, int*width, int*height); int jpeg_load_from_mem(unsigned char*_data, int size, unsigned char*dest, int width, int height); -#ifdef __CPLUSPLUS__ +#ifdef __cplusplus } #endif