Mercurial > mplayer.hg
view tremor/os.h @ 16520:8369ff5711de
10l: the directories specified with --with-xvid*dir were ignored.
Patch by Diego
Bug reported here: http://mplayerhq.hu/pipermail/mplayer-users/2005-September/055541.html
[MPlayer-users] CVS fails to compile (xvid related)
Giacomo Comes comes at naic.edu
Wed Sep 14 16:36:33 CEST 2005
Patch available here:
Date: Sep 10, 2005 8:45 PM
Subject: [MPlayer-dev-eng] [PATCH] XviD profile support
author | gpoirier |
---|---|
date | Mon, 19 Sep 2005 15:12:38 +0000 |
parents | 8631a3803289 |
children | cd6b211be811 |
line wrap: on
line source
#ifndef _OS_H #define _OS_H /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * * * * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * * ALL REDISTRIBUTION RIGHTS RESERVED. * * * ******************************************************************** function: #ifdef jail to whip a few platforms into the UNIX ideal. ********************************************************************/ #include <math.h> #include "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)) #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 */