diff options
author | scuri <scuri> | 2008-10-17 06:10:15 +0000 |
---|---|---|
committer | scuri <scuri> | 2008-10-17 06:10:15 +0000 |
commit | 5a422aba704c375a307a902bafe658342e209906 (patch) | |
tree | 5005011e086bb863d8fb587ad3319bbec59b2447 /src/libjpeg/jconfig.h |
First commit - moving from LuaForge to SourceForge
Diffstat (limited to 'src/libjpeg/jconfig.h')
-rw-r--r-- | src/libjpeg/jconfig.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/libjpeg/jconfig.h b/src/libjpeg/jconfig.h new file mode 100644 index 0000000..678e3d3 --- /dev/null +++ b/src/libjpeg/jconfig.h @@ -0,0 +1,26 @@ +/* + * see jconfig.doc + */ + +#define HAVE_PROTOTYPES +#define HAVE_UNSIGNED_CHAR +#define HAVE_UNSIGNED_SHORT +#define HAVE_STDDEF_H +#define HAVE_STDLIB_H + + +#define HAVE_JFIO + +#include "im_binfile.h" + +#define JFREAD(file,buf,sizeofbuf) \ + ((size_t) imBinFileRead((imBinFile*)file, (buf), (sizeofbuf), 1)) + +#define JFWRITE(file,buf,sizeofbuf) \ + ((size_t) imBinFileWrite((imBinFile*)file, (buf), (sizeofbuf), 1)) + +#define JFFLUSH(file) \ + ((void)(file)) + +#define JFERROR(file) \ + imBinFileError((imBinFile*)file) |