MingW32 fixes.
This commit is contained in:
parent
238b3af652
commit
62bb2277bc
3 changed files with 3 additions and 2 deletions
|
@ -229,7 +229,7 @@ case "${host}" in
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-mingw32*)
|
*-*-mingw32*)
|
||||||
echo "********** BUILDING FOR MINGW32 *************"
|
echo "********** BUILDING FOR MINGW32 *************"
|
||||||
base_LIBS="$base_LIBS -lws2_32"
|
network_LIBS="$network_LIBS -lws2_32"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -447,7 +447,7 @@ void FGAISchedule::setClosestDistanceToUser()
|
||||||
|
|
||||||
FGAirport *dep;
|
FGAirport *dep;
|
||||||
|
|
||||||
#ifdef __CYGWIN__
|
#if defined( __CYGWIN__) || defined( __MINGW32__)
|
||||||
#define HUGE HUGE_VAL
|
#define HUGE HUGE_VAL
|
||||||
#endif
|
#endif
|
||||||
distanceToUser = HUGE;
|
distanceToUser = HUGE;
|
||||||
|
|
|
@ -3,6 +3,7 @@ bin_PROGRAMS = est-epsilon gl-info
|
||||||
noinst_PROGRAMS = test-gethostname test-mktime test-text test-up test-env-map
|
noinst_PROGRAMS = test-gethostname test-mktime test-text test-up test-env-map
|
||||||
|
|
||||||
est_epsilon_SOURCES = est-epsilon.c
|
est_epsilon_SOURCES = est-epsilon.c
|
||||||
|
est_epsilon_LDADD = $(opengl_LIBS)
|
||||||
|
|
||||||
gl_info_SOURCES = gl-info.c
|
gl_info_SOURCES = gl-info.c
|
||||||
gl_info_LDADD = $(opengl_LIBS)
|
gl_info_LDADD = $(opengl_LIBS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue