Add fallback for EM_AVR

OpenBSD still lacks this definition, so provide our own for
them.
This commit is contained in:
Joerg Wunsch 2022-11-16 21:21:51 +01:00
parent 4c92030e3a
commit 01be288b18
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@
#ifndef EM_AVR32
# define EM_AVR32 0x18ad /* unofficial */
#endif
#ifndef EM_AVR
# define EM_AVR 83 /* OpenBSD lacks it */
#endif
#endif
#include "avrdude.h"