/usr/include/avifile-0.7/avm_default.h is in libavifile-0.7-dev 1:0.7.48~20090503.ds-19+b1.
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | #ifndef AVM_DEFAULT_H
#define AVM_DEFAULT_H
#ifndef WIN32
#ifdef HAVE_CONFIG_H
#include "config.h" /* to get the HAVE_xxx_H defines */
#else
/* we need something for int typedefs */
#include <inttypes.h> /* for int64_t and __WORDSIZE */
#define AVMEXPORT
#define AVMPACKED
#endif /* HAVE_CONFIG_H */
#ifdef HAVE_INTTYPES_H
#include <inttypes.h> /* for int64_t and __WORDSIZE */
#elif HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifndef PRId64
#define PRId64 "lld" /* pick some default */
#endif
#define PRIsz __PRIPTR_PREFIX "u" /* pick some default */
#ifndef __WINE_WINDEF_H
typedef long HRESULT;
#endif /* __WINE_WINDEF_H */
#else /* WIN32 */
# define __attribute__()
/* '<Unknown'> has C-linkage specified, but returns UDT 'basic_string<char, struct ...' */
# pragma warning (disable: 4190)
/* 'std::_Tree(std::basic_string<... ': identifier was truncated to '255' characters in the debug information */
# pragma warning (disable: 4786)
/* 'unsigned char': forcing value to bool 'true' or 'false' */
# pragma warning (disable: 4800)
typedef __int64 int64_t;
typedef __int32 int32_t;
typedef __int16 int16_t;
typedef __int8 int8_t;
typedef __uint64 uint64_t;
typedef __uint32 uint32_t;
typedef __uint16 uint16_t;
typedef __uint8 uint8_t;
#endif /* WIN32 */
#define E_ERROR -2
typedef uint32_t fourcc_t;
typedef uint32_t framepos_t;
typedef unsigned int uint_t; /* use as generic type */
//typedef unsigned streamid_t; /* \obsolete use uint_t */
//typedef unsigned Unsigned; /* \obsolete use uint_t */
#ifdef X_DISPLAY_MISSING
typedef int Display;
#endif
#if defined(__GNUC__) && \
((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ > 4)))
# define _avm_printf_attr(a,b) __attribute((__format__(__printf__,a,b)))
#else
# define _avm_printf_attr(a,b)
#endif
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 1)
# define _avm_deprecated __attribute__((__deprecated__))
#else
# define _avm_deprecated
#endif
#ifdef __cplusplus
# define AVM_BEGIN_EXTERN_C extern "C" {
# define AVM_END_EXTERN_C }
# define AVM_BEGIN_NAMESPACE namespace avm {
# define AVM_END_NAMESPACE }
#else
# define AVM_BEGIN_EXTERN_C
# define AVM_END_EXTERN_C
# define AVM_BEGIN_NAMESPACE
# define AVM_END_NAMESPACE
#endif
/**
* \namespace avm
*
* encupsulates functions & classes from the avifile library
*
* \author Zdenek Kabelac (kabi@users.sourceforge.net)
* \author Eugene Kuznetsov (divx@euro.ru)
*/
#define AVM_COMPATIBLE /* define & build backward compatible code */
#endif /* AVM_DEFAULT_H */
|