GNU Radio 3.5.3.1 C++ API
volk/config.h
Go to the documentation of this file.
1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.ac by autoheader. */
3 
4 /* Define if building universal (internal helper macro) */
5 /* #undef AC_APPLE_UNIVERSAL_BUILD */
6 
7 /* Disable Orc */
8 /* #undef DISABLE_ORC */
9 
10 /* Define if the Boost headers are available */
11 #define HAVE_BOOST 1
12 
13 /* Define if the boost_unit_test_framework library is available */
14 #define HAVE_BOOST_UNIT_TEST_FRAMEWORK 1
15 
16 /* Define to 1 if you have the <dlfcn.h> header file. */
17 #define HAVE_DLFCN_H 1
18 
19 /* Define to 1 if you have the <fcntl.h> header file. */
20 #define HAVE_FCNTL_H 1
21 
22 /* Define to 1 if you have the `getopt' function. */
23 #define HAVE_GETOPT 1
24 
25 /* Define to 1 if you have the `gettimeofday' function. */
26 #define HAVE_GETTIMEOFDAY 1
27 
28 /* Define to 1 if you have the <inttypes.h> header file. */
29 #define HAVE_INTTYPES_H 1
30 
31 /* Define to 1 if you have the <io.h> header file. */
32 /* #undef HAVE_IO_H */
33 
34 /* Define to 1 if you have the <memory.h> header file. */
35 #define HAVE_MEMORY_H 1
36 
37 /* Define to 1 if you have the `nanosleep' function. */
38 #define HAVE_NANOSLEEP 1
39 
40 /* Define to 1 if you have the `rand' function. */
41 #define HAVE_RAND 1
42 
43 /* Define to 1 if you have the `random' function. */
44 #define HAVE_RANDOM 1
45 
46 /* Define to 1 if you have the `sigaction' function. */
47 #define HAVE_SIGACTION 1
48 
49 /* Define to 1 if you have the `sleep' function. */
50 #define HAVE_SLEEP 1
51 
52 /* Define to 1 if you have the `srand' function. */
53 #define HAVE_SRAND 1
54 
55 /* Define to 1 if you have the `srandom' function. */
56 #define HAVE_SRANDOM 1
57 
58 /* Define to 1 if the system has the type `ssize_t'. */
59 #define HAVE_SSIZE_T 1
60 
61 /* Define to 1 if you have win32 Sleep */
62 /* #undef HAVE_SSLEEP */
63 
64 /* Define to 1 if you have the <stdint.h> header file. */
65 #define HAVE_STDINT_H 1
66 
67 /* Define to 1 if you have the <stdlib.h> header file. */
68 #define HAVE_STDLIB_H 1
69 
70 /* Define to 1 if you have the <strings.h> header file. */
71 #define HAVE_STRINGS_H 1
72 
73 /* Define to 1 if you have the <string.h> header file. */
74 #define HAVE_STRING_H 1
75 
76 /* Define to 1 if the system has the type `struct timespec'. */
77 #define HAVE_STRUCT_TIMESPEC 1
78 
79 /* Define to 1 if the system has the type `struct timezone'. */
80 #define HAVE_STRUCT_TIMEZONE 1
81 
82 /* Define to 1 if you have the <sys/stat.h> header file. */
83 #define HAVE_SYS_STAT_H 1
84 
85 /* Define to 1 if you have the <sys/types.h> header file. */
86 #define HAVE_SYS_TYPES_H 1
87 
88 /* Define to 1 if you have the <unistd.h> header file. */
89 #define HAVE_UNISTD_H 1
90 
91 /* Define to 1 if you have the `usleep' function. */
92 #define HAVE_USLEEP 1
93 
94 /* Define to 1 if you have the <winbase.h> header file. */
95 /* #undef HAVE_WINBASE_H */
96 
97 /* Define to 1 if you have the <windows.h> header file. */
98 /* #undef HAVE_WINDOWS_H */
99 
100 /* Define to 1 if you have the <winioctl.h> header file. */
101 /* #undef HAVE_WINIOCTL_H */
102 
103 /* Define to the sub-directory in which libtool stores uninstalled libraries.
104  */
105 #define LT_OBJDIR ".libs/"
106 
107 /* Use Orc */
108 #define LV_HAVE_ORC 1
109 
110 /* Name of package */
111 #define PACKAGE "volk"
112 
113 /* Define to the address where bug reports for this package should be sent. */
114 #define PACKAGE_BUGREPORT ""
115 
116 /* Define to the full name of this package. */
117 #define PACKAGE_NAME ""
118 
119 /* Define to the full name and version of this package. */
120 #define PACKAGE_STRING ""
121 
122 /* Define to the one symbol short name of this package. */
123 #define PACKAGE_TARNAME ""
124 
125 /* Define to the home page for this package. */
126 #define PACKAGE_URL ""
127 
128 /* Define to the version of this package. */
129 #define PACKAGE_VERSION ""
130 
131 /* Define to 1 if you have the ANSI C header files. */
132 #define STDC_HEADERS 1
133 
134 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
135 #define TIME_WITH_SYS_TIME 1
136 
137 /* Enable extensions on AIX 3, Interix. */
138 #ifndef _ALL_SOURCE
139 # define _ALL_SOURCE 1
140 #endif
141 /* Enable GNU extensions on systems that have them. */
142 #ifndef _GNU_SOURCE
143 # define _GNU_SOURCE 1
144 #endif
145 /* Enable threading extensions on Solaris. */
146 #ifndef _POSIX_PTHREAD_SEMANTICS
147 # define _POSIX_PTHREAD_SEMANTICS 1
148 #endif
149 /* Enable extensions on HP NonStop. */
150 #ifndef _TANDEM_SOURCE
151 # define _TANDEM_SOURCE 1
152 #endif
153 /* Enable general extensions on Solaris. */
154 #ifndef __EXTENSIONS__
155 # define __EXTENSIONS__ 1
156 #endif
157 
158 
159 /* Version number of package */
160 #define VERSION "0.1"
161 
162 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
163  significant byte first (like Motorola and SPARC, unlike Intel). */
164 #if defined AC_APPLE_UNIVERSAL_BUILD
165 # if defined __BIG_ENDIAN__
166 # define WORDS_BIGENDIAN 1
167 # endif
168 #else
169 # ifndef WORDS_BIGENDIAN
170 # define WORDS_BIGENDIAN 1
171 # endif
172 #endif
173 
174 /* Define to 1 if on MINIX. */
175 /* #undef _MINIX */
176 
177 /* Define to 2 if the system does not provide POSIX.1 features except with
178  this defined. */
179 /* #undef _POSIX_1_SOURCE */
180 
181 /* Define to 1 if you need to in order for `stat' and other things to work. */
182 /* #undef _POSIX_SOURCE */
183 
184 /* Define to empty if `const' does not conform to ANSI C. */
185 /* #undef const */
186 
187 /* Define to `__inline__' or `__inline' if that's what the C compiler
188  calls it, or to nothing if 'inline' is not supported under any name. */
189 #ifndef __cplusplus
190 /* #undef inline */
191 #endif
192 
193 /* Define to `unsigned int' if <sys/types.h> does not define. */
194 /* #undef size_t */
195 
196 
197 /* Define missing prototypes, implemented in replacement lib */
198 #ifdef __cplusplus
199 extern "C" {
200 #endif
201 
202 #ifndef HAVE_GETOPT
203 int getopt (int argc, char * const argv[], const char * optstring);
204 extern char * optarg;
205 extern int optind, opterr, optopt;
206 #endif
207 
208 #ifndef HAVE_USLEEP
209 int usleep(unsigned long usec); /* SUSv2 */
210 #endif
211 
212 #ifndef HAVE_NANOSLEEP
213 #ifndef HAVE_STRUCT_TIMESPEC
214 #if HAVE_SYS_TYPES_H
215 # include <sys/types.h> /* need time_t */
216 #endif
217 struct timespec {
218  time_t tv_sec;
219  long tv_nsec;
220 };
221 #endif
222 static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); }
223 #endif
224 
225 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP)
226 #ifdef HAVE_WINBASE_H
227 #include <windows.h>
228 #include <winbase.h>
229 #endif
230 /* TODO: what about SleepEx? */
231 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; }
232 #endif
233 
234 #ifndef HAVE_GETTIMEOFDAY
235 #ifdef HAVE_SYS_TIME_H
236 #include <sys/time.h>
237 #endif
238 #ifndef HAVE_STRUCT_TIMEZONE
239 struct timezone {
240  int tz_minuteswest;
241  int tz_dsttime;
242 };
243 #endif
244 int gettimeofday(struct timeval *tv, struct timezone *tz);
245 #endif
246 
247 #if !defined(HAVE_RANDOM) && defined(HAVE_RAND)
248 #include <stdlib.h>
249 static inline long int random (void) { return rand(); }
250 #endif
251 
252 #if !defined(HAVE_SRANDOM) && defined(HAVE_SRAND)
253 static inline void srandom (unsigned int seed) { srand(seed); }
254 #endif
255 
256 #ifndef HAVE_SSIZE_T
257 typedef size_t ssize_t;
258 #endif
259 
260 #ifdef __cplusplus
261 }
262 #endif
263