diff options
author | Jeremy Andrews <athenian200@outlook.com> | 2021-09-26 00:19:59 -0500 |
---|---|---|
committer | Jeremy Andrews <athenian200@outlook.com> | 2021-09-26 00:19:59 -0500 |
commit | 0e1ec51979626d5712cca412972f9e49ec224325 (patch) | |
tree | 5b7acec22741789155b8d95cee3ca6c645ecaddc /media/libtremor/lib/os.h | |
parent | 2fca8854a077493ac1c3e29240bf1839fa837eaf (diff) | |
download | aura-central-0e1ec51979626d5712cca412972f9e49ec224325.tar.gz |
Issue %3003 - Move libtremor to libs/
Diffstat (limited to 'media/libtremor/lib/os.h')
-rw-r--r-- | media/libtremor/lib/os.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/media/libtremor/lib/os.h b/media/libtremor/lib/os.h deleted file mode 100644 index 130d27de3..000000000 --- a/media/libtremor/lib/os.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef _OS_H -#define _OS_H -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * - * * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * - * * - * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * - * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * - * * - ******************************************************************** - - function: #ifdef jail to whip a few platforms into the UNIX ideal. - - ********************************************************************/ - -#include <math.h> -#include <ogg/os_types.h> - -#ifndef _V_IFDEFJAIL_H_ -# define _V_IFDEFJAIL_H_ - -# ifdef __GNUC__ -# define STIN static __inline__ -# elif _WIN32 -# define STIN static __inline -# endif -#else -# define STIN static -#endif - -#ifndef M_PI -# define M_PI (3.1415926536f) -#endif - -#ifdef _WIN32 -# include <malloc.h> -# define rint(x) (floor((x)+0.5f)) -# define NO_FLOAT_MATH_LIB -# define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b)) -# define LITTLE_ENDIAN 1 -# define BYTE_ORDER LITTLE_ENDIAN -#endif - -#ifdef HAVE_ALLOCA_H -# include <alloca.h> -#endif - -#ifdef USE_MEMORY_H -# include <memory.h> -#endif - -#ifndef min -# define min(x,y) ((x)>(y)?(y):(x)) -#endif - -#ifndef max -# define max(x,y) ((x)<(y)?(y):(x)) -#endif - -#endif /* _OS_H */ |