/home/lyrian/OggVorbis/kate/include/kate/kate_config.h

00001 /* Copyright (C) 2008 Vincent Penquerc'h.
00002    This file is part of the Kate codec library.
00003    Written by Vincent Penquerc'h.
00004 
00005    Use, distribution and reproduction of this library is governed
00006    by a BSD style source license included with this source in the
00007    file 'COPYING'. Please read these terms before distributing. */
00008 
00009 #ifndef _KATE_CONFIG_H_
00010 #define _KATE_CONFIG_H_
00011 
00012 #include <stddef.h>
00013 
00014 #ifdef HAVE_CONFIG_H
00015 #include "config.h"
00016 #endif
00017 
00018 #ifdef HAVE_INTTYPES_H
00019 #include <inttypes.h>
00020 #endif
00021 
00022 #ifdef HAVE_STDINT_H
00023 #include <stdint.h>
00024 #endif
00025 
00026 #ifdef KATE_INTERNAL
00027 #define kate_const
00028 #else
00029 #define kate_const const
00030 #endif
00031 
00032 #ifndef kate_malloc
00033 #define kate_malloc malloc
00034 #endif
00035 #ifndef kate_realloc
00036 #define kate_realloc realloc
00037 #endif
00038 #ifndef kate_free
00039 #define kate_free free
00040 #endif
00041 
00042 #if !defined HAVE_ATTRIBUTE
00043 #define __attribute__(x)
00044 #endif
00045 
00046 #if defined HAVE_STDINT_H || defined HAVE_INTTYPES_H
00047 typedef int32_t kate_int32_t;
00048 #elif defined int32_t
00049 typedef int32_t kate_int32_t;
00050 #elif defined INT_MAX && INT_MAX==2147483647
00051 typedef int kate_int32_t;
00052 #elif defined SHRT_MAX && SHRT_MAX==2147483647
00053 typedef short int kate_int32_t;
00054 #elif defined LONG_MAX && LONG_MAX==2147483647
00055 typedef long int kate_int32_t;
00056 #elif defined LLONG_MAX && LLONG_MAX==2147483647
00057 typedef long long int kate_int32_t;
00058 #endif
00059 
00060 #if defined HAVE_STDINT_H || defined HAVE_INTTYPES_H
00061 typedef int64_t kate_int64_t;
00062 #elif defined int64_t
00063 typedef int64_t kate_int64_t;
00064 #elif defined INT_MAX && INT_MAX>2147483647
00065 typedef int kate_int64_t;
00066 #elif defined SHRT_MAX && SHRT_MAX>2147483647
00067 typedef short int kate_int64_t;
00068 #elif defined LONG_MAX && LONG_MAX>2147483647
00069 typedef long int kate_int64_t;
00070 #elif defined LLONG_MAX && LLONG_MAX>2147483647
00071 typedef long long int kate_int64_t;
00072 #endif
00073 
00074 typedef float kate_float;
00075 
00076 #endif
00077 

Generated on Sun Aug 10 23:59:03 2008 for libkate by  doxygen 1.5.4