Browse Source

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

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

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