Skip to content

Commit e118b50

Browse files
committed
work around 'error: expected unqualified-id' on clang / OSX
1 parent 6302655 commit e118b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/arduino/WString.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ typedef std::string string;
1212

1313
// work around some portability issues
1414
#if defined(__clang__)
15-
#define ARDUINOCI_ISNAN ::isnan
16-
#define ARDUINOCI_ISINF ::isinf
15+
#define ARDUINOCI_ISNAN isnan
16+
#define ARDUINOCI_ISINF isinf
1717
#elif defined(__GNUC__) || defined(__GNUG__)
1818
#define ARDUINOCI_ISNAN std::isnan
1919
#define ARDUINOCI_ISINF std::isinf

0 commit comments

Comments
 (0)