summaryrefslogtreecommitdiff
path: root/source/api_wrappers/linux/Types.h
blob: 4f720aaa2e686cb43f1e83ef600a38238b4ed233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*******************************************************************************
 * Copyright (C) ST-Ericsson SA 2011
 * License terms: 3-clause BSD license
 ******************************************************************************/

#ifndef _TYPES_H
#define _TYPES_H

const unsigned int os_minus_one = ~0;
#define INFINITE os_minus_one

#define WAIT_OBJECT_0    0
#define WAIT_TIMEOUT     0x00000102L
#define WAIT_FAILED      (DWORD)0xFFFFFFFF

typedef unsigned int DWORD;

#define WINAPI

#define SEM_NAME_MAX_LENGTH 16
#define SEM_MAX_NR          1000

#endif /* _TYPES_H */