aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_osx.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-10-19 22:29:35 +0200
committerinmarket <andrewh@inmarket.com.au>2015-10-23 17:22:05 +1000
commit83e51779ed7f84a81de1a05e86834577a0e57438 (patch)
tree37a57142bf7f9e9b49bfba85c5f85e3cdfeab530 /src/gos/gos_osx.h
parente6867c4e48bfea921a23f45f1c1517bee975ed2b (diff)
downloaduGFX-83e51779ed7f84a81de1a05e86834577a0e57438.tar.gz
uGFX-83e51779ed7f84a81de1a05e86834577a0e57438.tar.bz2
uGFX-83e51779ed7f84a81de1a05e86834577a0e57438.zip
Adding new THREAD_RETURN macro to other ports
Diffstat (limited to 'src/gos/gos_osx.h')
-rw-r--r--src/gos/gos_osx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gos/gos_osx.h b/src/gos/gos_osx.h
index 635a8934..e5764b81 100644
--- a/src/gos/gos_osx.h
+++ b/src/gos/gos_osx.h
@@ -27,6 +27,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 reval
#define gfxExit() exit(0)
#define gfxAlloc(sz) malloc(sz)