Initial commit
[o-du/l2.git] / src / mt / ss_dep.h
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2017-2019] [Radisys]                                        #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ################################################################################
17 *******************************************************************************/
18
19 /********************************************************************20**
20  
21      Name:     System Services -- implementation specific definitions
22  
23      Type:     C include file
24  
25      Desc:     This file conditionally includes various implementation
26                specific files.
27  
28      File:     ss_dep.h
29
30 *********************************************************************21*/
31
32
33 #ifndef __SSDEPH__
34 #define __SSDEPH__
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 /*ss014.301 : 4GMX SSI specific includes*/
41 #ifdef SS_4GMX_LCORE
42 #include "rb_include.h"
43 #include <stdio.h>
44 #include <string.h>
45 #else
46 /*ss011.301 : RMI SSI specific includes*/
47 #ifdef SS_RMIOS
48 #include <stdio.h>
49 #include "uc_ss.h"
50 #include "string.h"
51 #include "byteorder.h"
52 #include "cm5.h"
53 #else
54 #ifdef SS_MT
55 #ifndef _POSIX_C_SOURCE
56 #define _POSIX_C_SOURCE 199309L
57 #endif
58 #include <pthread.h>
59 #include <semaphore.h>
60 #include <stdio.h>
61 #include "cm5.h"
62 #include "mt_ss.h"
63   /* ss003.13: addition */
64 #include <string.h>
65 #include <sys/types.h>
66 #include <sys/socket.h>
67 #include <netinet/in.h>
68 #else /* not SS_MT */
69
70 #ifdef SS_PS
71 #include <psos.h>
72 #include "cm5.h"
73 #include "ps.h"
74 #include "ps_ss.h"
75   /* ss009.13: addition */
76 #include <string.h>
77 #else /* not SS_PS */
78
79 #ifdef SS_VW
80   /* ss002.13: addition */
81 #include <string.h>
82 #include "vw_ss.h"
83 #include <sys/times.h>
84 #include <ioLib.h>
85 #include <sockLib.h>
86 #include <selectLib.h>
87 #include <hostLib.h>
88 #include "cm5.h"
89 #else /* not SS_VW */
90
91 #ifdef NS
92 #ifdef FAR
93 #undef FAR
94 #endif
95 #ifdef NEAR
96 #undef NEAR
97 #endif
98 #ifdef NU 
99 #include <stdio.h>
100 #include "windows.h"
101 #include "winbase.h"
102 #endif /* NU */
103
104 #ifdef NK
105 #include "ntddk.h"
106 #endif /* NK */
107 #include "ns_err.h"
108 #include "ns_task.h"
109 #include "ns_timer.h"
110 #include "ns_gen.h"
111 #else /* not NS */
112
113 #ifdef SS_SK
114 #include "sk_ss.h"
115 #else /* not SS_SK */
116
117 #error "Specify an implementation"
118
119 #endif /* SS_SK */
120 #endif /* NS */
121 #endif /* SS_VW */
122 #endif /* SS_PS */
123 #endif /* SS_MT */
124 #endif /* SS_RMIOS */
125 #endif /* SS_4GMX_LCORE */
126
127
128 #ifdef __cplusplus
129 }
130 #endif
131
132 #endif  /*  __SSDEPH__  */
133
134
135 \f  
136 /********************************************************************30**
137
138          End of file
139 **********************************************************************/