Fix compilation for windows

This commit is contained in:
Shinovon 2026-05-12 07:00:35 +05:00
parent 20c7bf7818
commit 7f9b635431
12 changed files with 70 additions and 7 deletions

View file

@ -6,7 +6,7 @@
* Arrays grouping together all the EAX presets in a scenario *
* *
************************************************************************************************/
#if 0
#include "eax-util.h"
#include <math.h>
@ -704,3 +704,4 @@ EAXLISTENERPROPERTIES EAX30_MISC_PRESETS[] =
EAX30_PRESET_SMALLWATERROOM
};
#endif

View file

@ -8,7 +8,7 @@
* *
\*******************************************************************/
#ifndef EAXUTIL_INCLUDED
#if !defined EAXUTIL_INCLUDED && 0
#define EAXUTIL_INCLUDED
#include <eax.h>

View file

@ -5,7 +5,7 @@
* *
********************************************************************/
#ifndef EAX_H_INCLUDED
#if !defined EAX_H_INCLUDED && 0
#define EAX_H_INCLUDED
#ifdef __cplusplus

View file

@ -1,5 +1,9 @@
#pragma once
#ifdef AUDIO_OAL
#undef AUDIO_OAL
#endif
#ifdef AUDIO_OAL
#include "eax.h"
#include "AL/efx.h"

View file

@ -1,6 +1,6 @@
//#define JUICY_OAL
#ifdef AUDIO_OAL
#if defined AUDIO_OAL && 0
#include <time.h>
#include "eax.h"