Skip to content

Commit

Permalink
PSTR is not defined on Linux etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
dok-net committed Feb 27, 2022
1 parent f7aeb42 commit c26539c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CoopTask",
"version": "3.7.0",
"version": "3.7.1",
"description": "Portable C++ library for cooperative multitasking like Arduino Scheduler on ESP8266/ESP32, AVR, Linux, Windows",
"keywords": [
"multitasking", "timing"
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=CoopTask
version=3.7.0
version=3.7.1
author=Dirk O. Kaar
maintainer=Dirk O. Kaar <[email protected]>
sentence=Portable C++ library for cooperative multitasking like Arduino Scheduler on ESP8266/ESP32, AVR, Linux, Windows
Expand Down
4 changes: 4 additions & 0 deletions src/CoopTaskBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define IRAM_ATTR
#endif

#if !defined(ARDUINO)
#define PSTR(x) x
#endif

#ifdef _MSC_VER
#define __attribute__(_)
#endif
Expand Down

0 comments on commit c26539c

Please sign in to comment.