1
0
Fork 0

Add patch "[ 1488441 ] fix for dosbox-0.65 build error on Solaris 5.8 (powf)" by Claudio Fontana.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2625
This commit is contained in:
Peter Veenstra 2006-05-18 11:32:09 +00:00
parent 8ece9230da
commit 94bbf1e01f

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: mixer.cpp,v 1.39 2006-03-27 19:41:55 qbix79 Exp $ */
/* $Id: mixer.cpp,v 1.40 2006-05-18 11:32:09 qbix79 Exp $ */
/*
Remove the sdl code from here and have it handeld in the sdlmain.
@ -55,6 +55,10 @@
#define MIXER_REMAIN ((1<<MIXER_SHIFT)-1)
#define MIXER_VOLSHIFT 13
#if defined(__sun) || defined(__sun__)
static inline float powf (float x, float y) { return pow (x,y); }
#endif
static inline Bit16s MIXER_CLIP(Bits SAMP) {
if (SAMP < MAX_AUDIO) {
if (SAMP > MIN_AUDIO)