From 5a422aba704c375a307a902bafe658342e209906 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 17 Oct 2008 06:10:15 +0000 Subject: First commit - moving from LuaForge to SourceForge --- src/libjpeg/jconfig.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/libjpeg/jconfig.h (limited to 'src/libjpeg/jconfig.h') 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) -- cgit v1.2.3