* tests/issue-1063/main.c: s/PATH_MAX/FILENAME_MAX/.
Closes !97 for Windows by using a standard macro.
This commit is contained in:
parent
8ef8072ba1
commit
e990c33f21
|
@ -1,4 +1,3 @@
|
||||||
#include <limits.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <freetype/freetype.h>
|
#include <freetype/freetype.h>
|
||||||
|
@ -19,7 +18,7 @@ main( void )
|
||||||
* command-line.
|
* command-line.
|
||||||
*/
|
*/
|
||||||
const char* testdata_dir = getenv( "FREETYPE_TESTS_DATA_DIR" );
|
const char* testdata_dir = getenv( "FREETYPE_TESTS_DATA_DIR" );
|
||||||
char filepath[PATH_MAX];
|
char filepath[FILENAME_MAX];
|
||||||
|
|
||||||
|
|
||||||
snprintf( filepath, sizeof( filepath ), "%s/%s",
|
snprintf( filepath, sizeof( filepath ), "%s/%s",
|
||||||
|
|
Loading…
Reference in New Issue