1 | --- jpeglib.h.org Sat Feb 21 14:48:14 1998 |
---|
2 | +++ jpeglib.h Tue Feb 25 16:49:36 2003 |
---|
3 | @@ -13,6 +13,10 @@ |
---|
4 | #ifndef JPEGLIB_H |
---|
5 | #define JPEGLIB_H |
---|
6 | |
---|
7 | +#ifdef __cplusplus |
---|
8 | +extern "C" { |
---|
9 | +#endif |
---|
10 | + |
---|
11 | /* |
---|
12 | * First we include the configuration files that record how this |
---|
13 | * installation of the JPEG library is set up. jconfig.h can be |
---|
14 | @@ -1091,6 +1095,10 @@ |
---|
15 | #ifdef JPEG_INTERNALS |
---|
16 | #include "jpegint.h" /* fetch private declarations */ |
---|
17 | #include "jerror.h" /* fetch error codes too */ |
---|
18 | +#endif |
---|
19 | + |
---|
20 | +#ifdef __cplusplus |
---|
21 | +} |
---|
22 | #endif |
---|
23 | |
---|
24 | #endif /* JPEGLIB_H */ |
---|