Use autoconf to detect gettimeofday instead of broken #ifdef.
Note: freeglut compiles under Cygwin now, even when "--without-x" is used for configuration. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@758 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
76f7bd7c9b
commit
f93b2081eb
@ -57,6 +57,7 @@ AC_PROG_GCC_TRADITIONAL
|
||||
AC_FUNC_VPRINTF
|
||||
AC_CHECK_LIBM
|
||||
AC_SUBST([LIBM])
|
||||
AC_CHECK_FUNCS([gettimeofday])
|
||||
|
||||
# Build time configuration.
|
||||
AC_ARG_ENABLE([replace-glut],
|
||||
|
Reference in New Issue
Block a user