mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-07-21 08:55:18 +03:00
Only #define bool if undefined
This commit is contained in:
@@ -83,7 +83,9 @@ extern "C" {
|
||||
#if (_MSC_VER >= 1900)
|
||||
#include <stdbool.h>
|
||||
#else
|
||||
#ifndef bool
|
||||
#define bool int
|
||||
#endif
|
||||
#define false 0
|
||||
#define true 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user