diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-04-27 19:28:49 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-04-27 19:28:49 +0200 |
commit | 4cd9f4d9071a672debd83b4cc1c5d57dc63b8549 (patch) | |
tree | 095c755ba2cc77198dfc85b45afd129b1e638d56 /thread.h | |
parent | 18590c85ce8d68b155828a4aa400105812aeb75d (diff) | |
parent | 181cec4348da40331b3e8ab365732c025ec149b2 (diff) | |
download | lcd4linux-4cd9f4d9071a672debd83b4cc1c5d57dc63b8549.tar.gz |
New upstream snapshot
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; |