A couple of hacks to fix cygwin compilation. These may not be the correct fix, but they prevent new cygwin users getting an almost instant compile error following make
This commit is contained in:
parent
3407419c4e
commit
44a375520a
2 changed files with 8 additions and 2 deletions
|
@ -6,8 +6,10 @@
|
||||||
# include <OpenAL/alc.h>
|
# include <OpenAL/alc.h>
|
||||||
#else
|
#else
|
||||||
# include <AL/al.h>
|
# include <AL/al.h>
|
||||||
# include <AL/alc.h>
|
# include <AL/alc.h>
|
||||||
# include <AL/alext.h>
|
# ifndef __CYGWIN__
|
||||||
|
# include <AL/alext.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AL_VERSION_1_1
|
#ifndef AL_VERSION_1_1
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
// do some test relating to the concept of "up"
|
// do some test relating to the concept of "up"
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <simgear/compiler.h>
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue