mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-11-17 02:25:42 +00:00
Move realpath() compatibility definition from config_gram.y to config.h
This commit is contained in:
1 parent
eba67e56fc
commit
e52bd2b99b
2 files changed
+4
-4
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -30,10 +30,6 @@
|
||||
#include "libavrdude.h"
|
||||
#include "config.h"
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define realpath(N,R) _fullpath((R), (N), PATH_MAX)
|
||||
#endif
|
||||
|
||||
#if defined(WIN32)
|
||||
#define strtok_r( _s, _sep, _lasts ) \
|
||||
( *(_lasts) = strtok( (_s), (_sep) ) )
|
||||
|
||||
Reference in new issue
Block a user