mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
All compile errors on Mac fixed.
This commit is contained in:
parent
2c138d703d
commit
504d68e2f8
3 changed files with 8 additions and 6 deletions
|
@ -40,7 +40,6 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "mus2midi.h"
|
#include "mus2midi.h"
|
||||||
extern void ChildSigHandler (int signum);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
@ -159,9 +158,6 @@ void I_InitMusic (void)
|
||||||
setatterm = true;
|
setatterm = true;
|
||||||
atterm (I_ShutdownMusicExit);
|
atterm (I_ShutdownMusicExit);
|
||||||
|
|
||||||
#ifndef _WIN32
|
|
||||||
signal (SIGCHLD, ChildSigHandler);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
MusicDown = false;
|
MusicDown = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,10 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "i_soundfont.h"
|
#include "i_soundfont.h"
|
||||||
#include "cmdlib.h"
|
#include "cmdlib.h"
|
||||||
|
#include "w_wad.h"
|
||||||
|
#include "i_system.h"
|
||||||
|
#include "gameconfigfile.h"
|
||||||
|
#include "resourcefiles/resourcefile.h"
|
||||||
|
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
|
@ -285,6 +285,9 @@ Appendix :
|
||||||
w[] and ip[] are compatible with all routines.
|
w[] and ip[] are compatible with all routines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
namespace TimidityPlus
|
namespace TimidityPlus
|
||||||
{
|
{
|
||||||
void makewt(int nw, int *ip, float *w);
|
void makewt(int nw, int *ip, float *w);
|
||||||
|
@ -656,7 +659,6 @@ void dfst(int n, float *a, float *t, int *ip, float *w)
|
||||||
/* -------- initializing routines -------- */
|
/* -------- initializing routines -------- */
|
||||||
|
|
||||||
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
void makewt(int nw, int *ip, float *w)
|
void makewt(int nw, int *ip, float *w)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue