/usr/include/CharLS/config.h is in libcharls-dev 1.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | //
// (C) Jan de Vaan 2007-2010, all rights reserved. See the accompanying "License.txt" for licensed use.
//
#ifndef CHARLS_CONFIG
#define CHARLS_CONFIG
#ifdef NDEBUG
# ifndef ASSERT
# define ASSERT(t) { }
# define assert(t) { }
# endif
#else
#include <assert.h>
#define ASSERT(t) assert(t)
#endif
#if defined(_WIN32)
#ifdef _MSC_VER
#pragma warning (disable:4512)
#endif
#endif
#ifdef __GNUC__
#include <stdint.h>
#else
typedef long long int64_t;
typedef unsigned long long uint64_t;
#endif
// Typedef used by Charls for the default integral type.
// charls will work correctly with 64 or 32 bit.
typedef long LONG;
enum constants
{
LONG_BITCOUNT = sizeof(LONG)*8
};
typedef unsigned char BYTE;
typedef unsigned short USHORT;
#undef NEAR
#ifndef inlinehint
# ifdef _MSC_VER
# ifdef NDEBUG
# define inlinehint __forceinline
# else
# define inlinehint
# endif
# elif defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define inlinehint inline
# else
# define inlinehint inline
# endif
#endif
#if defined(i386) || defined(__i386__) || defined(_M_IX86) || defined(__amd64__) || defined(_M_X64)
#define ARCH_HAS_UNALIGNED_MEM_ACCESS /* TODO define this symbol for more architectures */
#endif
#endif
|