Move realpath() compatibility definition from config_gram.y to config.h

This commit is contained in:
Stefan Rueger
2022-07-19 08:05:42 +01:00
parent eba67e56fc
commit e52bd2b99b
2 changed files with 4 additions and 4 deletions

View File

@@ -25,6 +25,10 @@
#include "libavrdude.h"
#if defined(WIN32) || defined(_MSC_VER) || defined(__MINGW32__)
#define realpath(N,R) _fullpath((R), (N), PATH_MAX)
#endif
#define MAX_STR_CONST 1024