mirror of
https://github.com/Q3Rally-Team/rallyunlimited-engine.git
synced 2024-11-29 07:22:15 +00:00
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
List of changes applied over original jpegsrc.v9d.tar.gz distribution files
|
|
|
|
------
|
|
|
|
--- code/libjpeg-orig/jdatasrc.c
|
|
+++ code/libjpeg/jdatasrc.c
|
|
@@ -12,14 +12,15 @@
|
|
* some will want to use a different source manager.
|
|
* IMPORTANT: we assume that fread() will correctly transcribe an array of
|
|
* JOCTETs from 8-bit-wide elements on external storage. If char is wider
|
|
* than 8 bits on your machine, you may need to do some tweaking.
|
|
*/
|
|
|
|
/* this is not a core library module, so it doesn't define JPEG_INTERNALS */
|
|
+#define JPEG_INTERNALS
|
|
#include "jinclude.h"
|
|
#include "jpeglib.h"
|
|
#include "jerror.h"
|
|
|
|
|
|
/* Expanded data source object for stdio input */
|
|
|
|
--- code/libjpeg-orig/jerror.c
|
|
+++ code/libjpeg/jerror.c
|
|
@@ -25,14 +25,16 @@
|
|
|
|
/* this is not a core library module, so it doesn't define JPEG_INTERNALS */
|
|
#include "jinclude.h"
|
|
#include "jpeglib.h"
|
|
#include "jversion.h"
|
|
#include "jerror.h"
|
|
|
|
+#include <stdlib.h>
|
|
+
|
|
#ifndef EXIT_FAILURE /* define exit() codes if not provided */
|
|
#define EXIT_FAILURE 1
|
|
#endif
|
|
|
|
|
|
/*
|
|
* Create the message string table.
|