mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
fix host emulation on macOS (#5633)
This commit is contained in:
@ -34,6 +34,7 @@ extern "C" {
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "binary.h"
|
||||
#include "twi.h"
|
||||
@ -249,11 +250,13 @@ extern "C" {
|
||||
#include "Updater.h"
|
||||
#include "debug.h"
|
||||
|
||||
#if 0
|
||||
#ifndef _GLIBCXX_VECTOR
|
||||
// arduino is not compatible with std::vector
|
||||
#define min(a,b) ((a)<(b)?(a):(b))
|
||||
#define max(a,b) ((a)>(b)?(a):(b))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define _min(a,b) ((a)<(b)?(a):(b))
|
||||
#define _max(a,b) ((a)>(b)?(a):(b))
|
||||
|
Reference in New Issue
Block a user