Open CrustyAuklet opened 5 years ago
Changes to the WIN32 part of the code for MSVC (same as in I2CDriver repo):
#define NOMINMAX
mm
sprintf
snprintf
#include <unistd.h>
==
=
Changes to the WIN32 part of the code for MSVC (same as in I2CDriver repo):
#define NOMINMAX
macro to prevent windows from clashing with C++ usemm
array fixed size and changedsprintf
tosnprintf
#include <unistd.h>
only when not WIN32. MSVC doesn't have it and minGW doesn't need it.==
->=
fix