ref: e990c33f218dc7ca619444e17b0bf5085b4b727c
parent: 8ef8072ba151dc06214ee70985a7fb03ebc2932f
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Oct 20 07:27:03 EDT 2021
* tests/issue-1063/main.c: s/PATH_MAX/FILENAME_MAX/. Closes !97 for Windows by using a standard macro.
--- a/tests/issue-1063/main.c
+++ b/tests/issue-1063/main.c
@@ -1,4 +1,3 @@
-#include <limits.h>
#include <stdio.h>
#include <freetype/freetype.h>
@@ -19,7 +18,7 @@
* 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",