diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-10-19 22:29:35 +0200 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-10-23 17:22:05 +1000 |
commit | 83e51779ed7f84a81de1a05e86834577a0e57438 (patch) | |
tree | 37a57142bf7f9e9b49bfba85c5f85e3cdfeab530 /src/gos/gos_osx.h | |
parent | e6867c4e48bfea921a23f45f1c1517bee975ed2b (diff) | |
download | uGFX-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.h | 1 |
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) |