sipxportlib  Version 3.3
OsLinuxDefs.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 SIPfoundry Inc.
3 // Licensed by SIPfoundry under the LGPL license.
4 //
5 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6 // Licensed to SIPfoundry under a Contributor Agreement.
7 //
8 // $$
10 
11 
12 #ifndef _OsLinuxDefs_h_
13 #define _OsLinuxDefs_h_
14 
15 // SYSTEM INCLUDES
16 #include <errno.h>
17 #include <stdio.h>
18 #include <time.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 // APPLICATION INCLUDES
25 
26 // DEFINES
27 // Change the VxWorks defines that interfere with names used by our
28 // own abstraction layer.
29 // Not sure if these are present under other OS's but it can't hurt :)
30 #undef NO_WAIT
31 #undef OK
32 #undef WAIT_FOREVER
33 
34 #define POSIX_OK 0
35 #define POSIX_NO_WAIT 0
36 #define POSIX_WAIT_FOREVER (-1)
37 
38 // MACROS
39 // EXTERNAL FUNCTIONS
40 // EXTERNAL VARIABLES
41 // CONSTANTS
42 // STRUCTS
43 // TYPEDEFS
44 // FORWARD DECLARATIONS
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif // _OsLinuxDefs_h_
51