mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
fix cygwin compile
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1001 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
19
thread.h
19
thread.h
@@ -30,6 +30,25 @@
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user