Move the config file names out as #define into avrdude.h

This commit is contained in:
Joerg Wunsch
2022-01-04 23:03:47 +01:00
parent 374861f62e
commit 6a87a110cc
3 changed files with 16 additions and 9 deletions

View File

@@ -21,6 +21,13 @@
#ifndef avrdude_h
#define avrdude_h
#define SYSTEM_CONF_FILE "avrdude.conf"
#if defined(WIN32NATIVE)
#define USER_CONF_FILE "avrdude.rc"
#else
#define USER_CONF_FILE ".avrduderc"
#endif
extern char * progname; /* name of program, for messages */
extern char progbuf[]; /* spaces same length as progname */