Fixed compilation with GCC 3.0.
Fixed invalid cast (ushort * -> uint *) in openal.c.
This commit is contained in:
parent
d6cb06cd9e
commit
e49862a2d2
3 changed files with 9 additions and 17 deletions
|
@ -21,22 +21,8 @@ extern "C" {
|
|||
#define VARARG_DECL
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
#if __GNUC__ >= 2 && __GNUC_MINOR__ >= 5
|
||||
extern void
|
||||
VARARG_DECL fail (const char * __format, ...)
|
||||
__attribute__ ((noreturn, format (printf, 1, 2)));
|
||||
#else
|
||||
extern __volatile__ void VARARG_DECL fail (const char * __format, ...);
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
extern void VARARG_DECL fail (const char * __format, ...);
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue