123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- #ifndef __JCONFIG_GCC_LINUX_H
- #define __JCONFIG_GCC_LINUX_H
- #include <stdlib.h>
- #define jpeg_size_t size_t
- /*
- * These symbols indicate the properties of your machine or compiler.
- * #define the symbol if yes, #undef it if no.
- */
- /* Does your compiler support function prototypes?
- * (If not, you also need to use ansi2knr, see install.doc)
- */
- #define HAVE_PROTOTYPES
- /* Does your compiler support the declaration "unsigned char" ?
- * How about "unsigned short" ?
- */
- #define HAVE_UNSIGNED_CHAR
- #define HAVE_UNSIGNED_SHORT
- /* Define "void" as "char" if your compiler doesn't know about type void.
- * NOTE: be sure to define void such that "void *" represents the most general
- * pointer type, e.g., that returned by malloc().
- */
- /* #define void char */
- /* Define "const" as empty if your compiler doesn't know the "const" keyword.
- */
- /* #define const */
- /* Define this if an ordinary "char" type is unsigned.
- * If you're not sure, leaving it undefined will work at some cost in speed.
- * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal.
- */
- #undef CHAR_IS_UNSIGNED
- /* Define this if your system has an ANSI-conforming <stddef.h> file.
- */
- #define HAVE_STDDEF_H
- /* Define this if your system has an ANSI-conforming <stdlib.h> file.
- */
- #define HAVE_STDLIB_H
- /* Define this if your system does not have an ANSI/SysV <string.h>,
- * but does have a BSD-style <strings.h>.
- */
- #undef NEED_BSD_STRINGS
- /* Define this if your system does not provide typedef size_t in any of the
- * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in
- * <sys/types.h> instead.
- */
- #undef NEED_SYS_TYPES_H
- /* For 80x86 machines, you need to define NEED_FAR_POINTERS,
- * unless you are using a large-data memory model or 80386 flat-memory mode.
- * On less brain-damaged CPUs this symbol must not be defined.
- * (Defining this symbol causes large data structures to be referenced through
- * "far" pointers and to be allocated with a special version of malloc.)
- */
- #undef NEED_FAR_POINTERS
- /* Define this if your linker needs global names to be unique in less
- * than the first 15 characters.
- */
- #undef NEED_SHORT_EXTERNAL_NAMES
- /* Although a real ANSI C compiler can deal perfectly well with pointers to
- * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI
- * and pseudo-ANSI compilers get confused. To keep one of these bozos happy,
- * define INCOMPLETE_TYPES_BROKEN. This is not recommended unless you
- * actually get "missing structure definition" warnings or errors while
- * compiling the JPEG code.
- */
- #undef INCOMPLETE_TYPES_BROKEN
- /*
- * The following options affect code selection within the JPEG library,
- * but they don't need to be visible to applications using the library.
- * To minimize application namespace pollution, the symbols won't be
- * defined unless JPEG_INTERNALS has been defined.
- */
- #ifdef JPEG_INTERNALS
- /* Define this if your compiler implements ">>" on signed values as a logical
- * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
- * which is the normal and rational definition.
- */
- #undef RIGHT_SHIFT_IS_UNSIGNED
- #endif /* JPEG_INTERNALS */
- #endif
|