aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_linux.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-10-19 22:29:35 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-10-19 22:29:35 +0200
commit46619f60cdc4fdc9a2f8ba859cdbcf81210cc7e5 (patch)
tree082ae01cd8c02da012558405217717151b2cfdbd /src/gos/gos_linux.h
parent32eae604223e53838eae8b69593c73e5c445975b (diff)
downloaduGFX-46619f60cdc4fdc9a2f8ba859cdbcf81210cc7e5.tar.gz
uGFX-46619f60cdc4fdc9a2f8ba859cdbcf81210cc7e5.tar.bz2
uGFX-46619f60cdc4fdc9a2f8ba859cdbcf81210cc7e5.zip
Adding new THREAD_RETURN macro to other ports
Diffstat (limited to 'src/gos/gos_linux.h')
-rw-r--r--src/gos/gos_linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gos/gos_linux.h b/src/gos/gos_linux.h
index 39cfbc85..fe406cb6 100644
--- a/src/gos/gos_linux.h
+++ b/src/gos/gos_linux.h
@@ -37,6 +37,7 @@ typedef pthread_mutex_t gfxMutex;
#define DECLARE_THREAD_FUNCTION(fnName, param) threadreturn_t fnName(void *param)
#define DECLARE_THREAD_STACK(name, sz) uint8_t name[0];
+#define THREAD_RETURN(retval) return retval
#define gfxExit() exit(0)
#define gfxAlloc(sz) malloc(sz)