mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 10:06:25 +03:00
More stringent #include API checks
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/*
|
||||
* Do not edit: automatically generated by mkavrintel.pl
|
||||
*
|
||||
* Do NOT directly "#include <libavrdude-avrintel.h>" into your code.
|
||||
* DO "#include <libavrdude.h>" instead.
|
||||
*
|
||||
* libavrdude-avrintel.h
|
||||
*
|
||||
* Microchip AVR8L, AVR8, XMEGA and AVR8X family description of interrupts, configurations and more
|
||||
|
||||
@@ -25,6 +25,11 @@
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
|
||||
#error LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS is defined. Do not do that.
|
||||
#endif
|
||||
|
||||
#define LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
|
||||
#include "libavrdude-avrintel.h"
|
||||
#undef LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
|
||||
|
||||
Reference in New Issue
Block a user