* tests/issue-1063/main.c: s/PATH_MAX/FILENAME_MAX/.

Closes !97 for Windows by using a standard macro.
This commit is contained in:
Alexei Podtelezhnikov 2021-10-20 11:27:03 -04:00
parent 8ef8072ba1
commit e990c33f21
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
#include <limits.h>
#include <stdio.h>
#include <freetype/freetype.h>
@ -19,7 +18,7 @@ main( void )
* command-line.
*/
const char* testdata_dir = getenv( "FREETYPE_TESTS_DATA_DIR" );
char filepath[PATH_MAX];
char filepath[FILENAME_MAX];
snprintf( filepath, sizeof( filepath ), "%s/%s",