maniacbug / StandardCplusplus

Standard C++ for Arduino (port of uClibc++)
588 stars 182 forks source link

Undefine cstdlib::abs before re-defining it #34

Closed amotl closed 1 year ago

amotl commented 1 year ago

Apparently, more recent Arduino versions already define the cstdlib::abs function. Let's undefine it, as suggested by @eric-wieser, in order to mitigate the expected unqualified-id before 'long' build error.