Skip to content

Commit

Permalink
Merge pull request #1483 from noahmetzger/winfix
Browse files Browse the repository at this point in the history
Fixed compiler warning
  • Loading branch information
zdenop committed Apr 17, 2018
2 parents 67804a2 + d597570 commit 808a10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccutil/mainblk.cpp
Expand Up @@ -62,7 +62,7 @@ void CCUtil::main_setup(const char *argv0, const char *basename) {
/* Use tessdata prefix from the environment. */
datadir = tessdata_prefix;
#if defined(_WIN32)
} else if (datadir == NULL || access(datadir.string(), 0) != 0) {
} else if (datadir == NULL || _access(datadir.string(), 0) != 0) {
/* Look for tessdata in directory of executable. */
char drive[_MAX_DRIVE];
char dir[_MAX_DIR];
Expand Down

0 comments on commit 808a10f

Please sign in to comment.