Remove unnecessary code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ae2d007edf)
r14.1.x
Michele Calgaro 4 weeks ago
parent ec196430cd
commit 3cecdf0fd8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -29,11 +29,7 @@
// System
#include <stdio.h>
#include <setjmp.h>
extern "C" {
#define XMD_H
#include <jpeglib.h>
#undef const
}
// TQt
#include <tqdatetime.h>

@ -85,13 +85,6 @@
#include "tqasyncimageio.h"
#include "tqiodevice.h"
// Define XMD_H prohibits the included headers of libmng.h to typedef INT32.
// This is needed for Borland with STL support, since in that case, INT32 is
// already defined by some Borland header.
#define XMD_H
#if defined(TQ_OS_UNIXWARE)
# define HAVE_BOOLEAN // libjpeg under Unixware seems to need this
#endif
#include <libmng.h>
#include <stdlib.h>

@ -48,10 +48,7 @@
// libjpeg
#include <setjmp.h>
#define XMD_H
extern "C" {
#include <jpeglib.h>
}
// Local
#include "cache.h"

@ -21,12 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define JPEGERRORMANAGER_H
#include <setjmp.h>
extern "C" {
#define XMD_H
#include <jpeglib.h>
#undef const
}
namespace ImageUtils {

Loading…
Cancel
Save