- Removed check for HAVE_MKTIME

This commit is contained in:
xboi209 2015-10-17 13:15:41 -07:00
parent 534da8445a
commit d1ac041bf5
2 changed files with 2 additions and 7 deletions

View file

@ -170,7 +170,8 @@ check_function_exists(index HAVE_INDEX)
check_function_exists(ioctl HAVE_IOCTL)
check_function_exists(kqueue HAVE_KQUEUE)
check_function_exists(_mkdir HAVE__MKDIR)
check_function_exists(mkdir HAVE_MKDIR)
#check_function_exists(mkdir HAVE_MKDIR)
check_symbol_exists(mkdir "time.h" HAVE_MKDIR)
check_function_exists(mmap HAVE_MMAP)
check_function_exists(pipe HAVE_PIPE)
check_function_exists(poll HAVE_POLL)

View file

@ -183,7 +183,6 @@ namespace pvpgn
if (std::strcmp(prefs_get_version_exeinfo_match(), "parse") == 0)
{
#ifdef HAVE_MKTIME
struct std::tm t1;
char *exe;
char mask[MAX_EXEINFO_STR + 1];
@ -263,11 +262,6 @@ namespace pvpgn
else
parsed_exeinfo->time = std::mktime(&t1);
parsed_exeinfo->size = size;
#else
eventlog(eventlog_level_error, __FUNCTION__, "Your std::system does not support std::mktime(). Please select another exeinfo matching method.");
return NULL;
#endif
}
return parsed_exeinfo;