Mercurial > mplayer.hg
annotate tremor/os.h @ 33273:8c4a81b0bd5f
Update Doxyfile from doxygen 1.3.7 to 1.5.6.
The latter is the version available in Debian oldstable and should thus be a
suitable baseline that can be expected to be available on all systems.
The update makes new Doxygen features available in the configuration file
and avoids several deprecation warnings when using newer doxygen versions.
author | diego |
---|---|
date | Wed, 04 May 2011 14:27:35 +0000 |
parents | e83eef58b30a |
children | 5affa2074131 |
rev | line source |
---|---|
14280 | 1 #ifndef _OS_H |
2 #define _OS_H | |
3 /******************************************************************** | |
4 * * | |
5 * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * | |
6 * * | |
19251
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
7 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
8 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
9 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
10 * * |
14280 | 11 * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * |
12 * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * | |
13 * * | |
14 ******************************************************************** | |
15 | |
16 function: #ifdef jail to whip a few platforms into the UNIX ideal. | |
17 | |
18 ********************************************************************/ | |
19 | |
20 #include <math.h> | |
21 #include "os_types.h" | |
22 | |
25847
fe50eaad932d
Use the standard "static inline" instead of some broken ifdef mess
reimar
parents:
19251
diff
changeset
|
23 #define STIN static inline |
14280 | 24 |
25 #ifndef M_PI | |
26 # define M_PI (3.1415926536f) | |
27 #endif | |
28 | |
29 #ifdef _WIN32 | |
30 # include <malloc.h> | |
29264
e83eef58b30a
Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents:
25847
diff
changeset
|
31 # define rint(x) (floor((x)+0.5f)) |
14280 | 32 # define NO_FLOAT_MATH_LIB |
33 # define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b)) | |
34 #endif | |
35 | |
36 #ifdef HAVE_ALLOCA_H | |
37 # include <alloca.h> | |
38 #endif | |
39 | |
40 #ifdef USE_MEMORY_H | |
41 # include <memory.h> | |
42 #endif | |
43 | |
44 #ifndef min | |
45 # define min(x,y) ((x)>(y)?(y):(x)) | |
46 #endif | |
47 | |
48 #ifndef max | |
49 # define max(x,y) ((x)<(y)?(y):(x)) | |
50 #endif | |
51 | |
52 #endif /* _OS_H */ |