[fix] conditional compilation for strndup and drand48 for Windows, using config.h

This commit is contained in:
Al
2017-11-29 12:21:13 -05:00
parent 18eb5ef9ee
commit 26e4ef08bc
6 changed files with 25 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ AC_TYPE_UINT8_T
AC_CHECK_TYPES([ptrdiff_t])
# Checks for library functions.
AC_CHECK_FUNCS([malloc realloc getcwd gettimeofday memmove memset regcomp setlocale sqrt strdup strndup])
AC_CHECK_FUNCS([malloc realloc drand48 getcwd gettimeofday memmove memset regcomp setlocale sqrt strdup strndup])
AC_CONFIG_FILES([Makefile
libpostal.pc