We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2dae57 commit 9ac98e3Copy full SHA for 9ac98e3
SPPClient.h
@@ -61,7 +61,7 @@ class SPPClient : public SPPBase {
61
*/
62
SPPClient(BTD *p, const char *name = "Arduino", const char *pin = "0000", bool pair = false, uint8_t *addr = NULL);
63
64
-#if GCC_VERSION > 40700 // Test for GCC > 4.7.0 - then C++11 should be supported
+#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) // Check if C++11 is supported
65
SPPClient(BTD *p, bool pair = false, uint8_t *addr = NULL) : SPPClient(p, "Arduino", "0000", pair, addr) {}; // Use a delegating constructor
66
#endif
67
0 commit comments