comparison src/audacious/af_compat.h @ 4557:2eee464379dc

Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 May 2008 01:29:46 +0300
parents 060c9865ea17
children
comparison
equal deleted inserted replaced
4556:332d2992e04c 4557:2eee464379dc
1 /* 1 /*
2 * MPlayer libaf compatibility stuff 2 * MPlayer libaf compatibility stuff
3 */ 3 */
4 4
5 #ifndef AF_COMPAT_H 5 #ifndef AUDACIOUS_AF_COMPAT_H
6 #define AF_COMPAT_H 6 #define AUDACIOUS_AF_COMPAT_H
7 7
8 #include <glib.h> 8 #include <glib.h>
9 #include "main.h" 9 #include "main.h"
10 10
11 /* Number of channels */ 11 /* Number of channels */
108 108
109 #ifndef clamp 109 #ifndef clamp
110 #define clamp(a,min,max) (((a)>(max))?(max):(((a)<(min))?(min):(a))) 110 #define clamp(a,min,max) (((a)>(max))?(max):(((a)<(min))?(min):(a)))
111 #endif 111 #endif
112 112
113 #endif /* AF_COMPAT_H */ 113 #endif /* AUDACIOUS_AF_COMPAT_H */