minimal jasper support

This commit is contained in:
David Rose 2002-08-05 15:29:09 +00:00
parent d068b1b24a
commit ac5338eb0b
3 changed files with 12 additions and 1 deletions

View File

@ -18,12 +18,16 @@
#ifndef TYPEDEF_H
#define TYPEDEF_H
#include <pandabase.h>
#include "pandabase.h"
#include "numeric_types.h"
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef PN_int64 longlong;
typedef PN_uint64 ulonglong;
#endif

View File

@ -29,6 +29,9 @@
#ifdef HAVE_JPEG
#include "pnmFileTypeJPG.h"
#endif
#ifdef HAVE_JPEG2000
#include "pnmFileTypeJPG2000.h"
#endif
#include "sgi.h"
#include <config_pnmimage.h>

View File

@ -29,8 +29,12 @@
#include <windows.h> // we need to include this before jpeglib.
#endif
#include "typedef.h" // jasper requires this first.
#include <jasper/jasper.h>
// Undo jasper-inflicted damage.
#undef bool
////////////////////////////////////////////////////////////////////
// Class : PNMFileTypeJPG2000
// Description : For reading and writing Jpeg2000 files.