check_function_exists(poll HAVE_POLL)
check_function_exists(putenv HAVE_DECL_PUTENV)
check_function_exists(realloc HAVE_REALLOC)
-check_function_exists(read HAVE_READ)
check_function_exists(select HAVE_SELECT)
check_function_exists(setenv HAVE_DECL_SETENV)
check_function_exists(setlocale HAVE_SETLOCALE)
check_function_exists(wctomb HAVE_WCTOMB)
check_function_exists(wmemcmp HAVE_WMEMCMP)
check_function_exists(wmemcpy HAVE_WMEMCPY)
-check_function_exists(write HAVE_WRITE)
check_function_exists(_ctime64_s HAVE__CTIME64_S)
check_function_exists(_fileno HAVE__FILENO)
check_function_exists(_fseeki64 HAVE__FSEEKI64)
check_function_exists(_localtime64_s HAVE__LOCALTIME64_S)
check_function_exists(_mkgmtime64 HAVE__MKGMTIME64)
check_function_exists(_putenv HAVE__PUTENV)
-check_function_exists(_read HAVE__READ)
-check_function_exists(_snprintf HAVE__SNPRINTF)
check_function_exists(_strdup HAVE__STRDUP)
-check_function_exists(_write HAVE__WRITE)
if(HAVE_FORK)
add_definitions(-DHAVE_FORK=1)
#define putenv _putenv;
#endif /* HAVE_DECL_PUTENV && !HAVE__PUTENV */
-#if !HAVE_READ && HAVE__READ
-#define read _read
-#endif /* !HAVE_READ && HAVE__READ */
-
#if !HAVE_DECL_SETENV
int setenv (const char *name, const char *value, int overwrite);
#endif /* !HAVE_DECL_SETENV */
int unsetenv (const char *name);
#endif /* !HAVE_DECL_UNSETENV */
-#if !HAVE_WRITE && HAVE_WRITE
-#define write _write
-#endif /* !HAVE_WRITE && HAVE__WRITE */
-
/*
* On systems where clock_gettime() is not available, or
* on systems where some clocks may not be supported, the