diff options
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 24 |
1 files changed, 21 insertions, 3 deletions
@@ -1,9 +1,9 @@ -/* $Id: thread.h 728 2007-01-14 11:14:38Z michael $ - * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/thread.h $ +/* $Id: thread.h 1010 2009-03-27 13:13:28Z michux $ + * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/thread.h $ * * thread handling (mutex, shmem, ...) * - * Copyright (C) 2004 Michael Reinelt <reinelt@eunet.at> + * Copyright (C) 2004 Michael Reinelt <michael@reinelt.co.at> * Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net> * * parts of this code are based on the old XWindow driver which is @@ -30,6 +30,24 @@ #ifndef _THREAD_H_ #define _THREAD_H_ +#ifdef __CYGWIN__ + +#ifndef HAVE_UNION_SEMUN +union semun { + int val; + struct semid_ds *buf; + unsigned short *array; +}; +#endif + +#ifndef SHM_R +#define SHM_R 0400 +#endif +#ifndef SHM_W +#define SHM_W 0660 +#endif + +#endif extern int thread_argc; extern char **thread_argv; |