X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fjpeg.h;h=090d147f124bf2e4540b9b6275ef5467d0e61715;hb=f9777d63606840b68fc86df0a96ee1a79ab04e69;hp=54b67d0083e89d979f2c4b05bc73b2b0b5dfe545;hpb=90aec6a9d4522c29c75bc85d5b4fd58e544fc3a3;p=swftools.git 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