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

Closes !97 for Windows by using a standard macro.
hdmx-advances
Alexei Podtelezhnikov 3 years ago
parent 8ef8072ba1
commit e990c33f21
  1. 3
      tests/issue-1063/main.c

@ -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",

Loading…
Cancel
Save