GNU Radio 3.5.3.1 C++ API
|
00001 /* config.h. Generated from config.h.in by configure. */ 00002 /* config.h.in. Generated from configure.ac by autoheader. */ 00003 00004 /* Define if building universal (internal helper macro) */ 00005 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 00006 00007 /* Disable Orc */ 00008 /* #undef DISABLE_ORC */ 00009 00010 /* Define if the Boost headers are available */ 00011 #define HAVE_BOOST 1 00012 00013 /* Define if the boost_unit_test_framework library is available */ 00014 #define HAVE_BOOST_UNIT_TEST_FRAMEWORK 1 00015 00016 /* Define to 1 if you have the <dlfcn.h> header file. */ 00017 #define HAVE_DLFCN_H 1 00018 00019 /* Define to 1 if you have the <fcntl.h> header file. */ 00020 #define HAVE_FCNTL_H 1 00021 00022 /* Define to 1 if you have the `getopt' function. */ 00023 #define HAVE_GETOPT 1 00024 00025 /* Define to 1 if you have the `gettimeofday' function. */ 00026 #define HAVE_GETTIMEOFDAY 1 00027 00028 /* Define to 1 if you have the <inttypes.h> header file. */ 00029 #define HAVE_INTTYPES_H 1 00030 00031 /* Define to 1 if you have the <io.h> header file. */ 00032 /* #undef HAVE_IO_H */ 00033 00034 /* Define to 1 if you have the <memory.h> header file. */ 00035 #define HAVE_MEMORY_H 1 00036 00037 /* Define to 1 if you have the `nanosleep' function. */ 00038 #define HAVE_NANOSLEEP 1 00039 00040 /* Define to 1 if you have the `rand' function. */ 00041 #define HAVE_RAND 1 00042 00043 /* Define to 1 if you have the `random' function. */ 00044 #define HAVE_RANDOM 1 00045 00046 /* Define to 1 if you have the `sigaction' function. */ 00047 #define HAVE_SIGACTION 1 00048 00049 /* Define to 1 if you have the `sleep' function. */ 00050 #define HAVE_SLEEP 1 00051 00052 /* Define to 1 if you have the `srand' function. */ 00053 #define HAVE_SRAND 1 00054 00055 /* Define to 1 if you have the `srandom' function. */ 00056 #define HAVE_SRANDOM 1 00057 00058 /* Define to 1 if the system has the type `ssize_t'. */ 00059 #define HAVE_SSIZE_T 1 00060 00061 /* Define to 1 if you have win32 Sleep */ 00062 /* #undef HAVE_SSLEEP */ 00063 00064 /* Define to 1 if you have the <stdint.h> header file. */ 00065 #define HAVE_STDINT_H 1 00066 00067 /* Define to 1 if you have the <stdlib.h> header file. */ 00068 #define HAVE_STDLIB_H 1 00069 00070 /* Define to 1 if you have the <strings.h> header file. */ 00071 #define HAVE_STRINGS_H 1 00072 00073 /* Define to 1 if you have the <string.h> header file. */ 00074 #define HAVE_STRING_H 1 00075 00076 /* Define to 1 if the system has the type `struct timespec'. */ 00077 #define HAVE_STRUCT_TIMESPEC 1 00078 00079 /* Define to 1 if the system has the type `struct timezone'. */ 00080 #define HAVE_STRUCT_TIMEZONE 1 00081 00082 /* Define to 1 if you have the <sys/stat.h> header file. */ 00083 #define HAVE_SYS_STAT_H 1 00084 00085 /* Define to 1 if you have the <sys/types.h> header file. */ 00086 #define HAVE_SYS_TYPES_H 1 00087 00088 /* Define to 1 if you have the <unistd.h> header file. */ 00089 #define HAVE_UNISTD_H 1 00090 00091 /* Define to 1 if you have the `usleep' function. */ 00092 #define HAVE_USLEEP 1 00093 00094 /* Define to 1 if you have the <winbase.h> header file. */ 00095 /* #undef HAVE_WINBASE_H */ 00096 00097 /* Define to 1 if you have the <windows.h> header file. */ 00098 /* #undef HAVE_WINDOWS_H */ 00099 00100 /* Define to 1 if you have the <winioctl.h> header file. */ 00101 /* #undef HAVE_WINIOCTL_H */ 00102 00103 /* Define to the sub-directory in which libtool stores uninstalled libraries. 00104 */ 00105 #define LT_OBJDIR ".libs/" 00106 00107 /* Use Orc */ 00108 #define LV_HAVE_ORC 1 00109 00110 /* Name of package */ 00111 #define PACKAGE "volk" 00112 00113 /* Define to the address where bug reports for this package should be sent. */ 00114 #define PACKAGE_BUGREPORT "" 00115 00116 /* Define to the full name of this package. */ 00117 #define PACKAGE_NAME "" 00118 00119 /* Define to the full name and version of this package. */ 00120 #define PACKAGE_STRING "" 00121 00122 /* Define to the one symbol short name of this package. */ 00123 #define PACKAGE_TARNAME "" 00124 00125 /* Define to the home page for this package. */ 00126 #define PACKAGE_URL "" 00127 00128 /* Define to the version of this package. */ 00129 #define PACKAGE_VERSION "" 00130 00131 /* Define to 1 if you have the ANSI C header files. */ 00132 #define STDC_HEADERS 1 00133 00134 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 00135 #define TIME_WITH_SYS_TIME 1 00136 00137 /* Enable extensions on AIX 3, Interix. */ 00138 #ifndef _ALL_SOURCE 00139 # define _ALL_SOURCE 1 00140 #endif 00141 /* Enable GNU extensions on systems that have them. */ 00142 #ifndef _GNU_SOURCE 00143 # define _GNU_SOURCE 1 00144 #endif 00145 /* Enable threading extensions on Solaris. */ 00146 #ifndef _POSIX_PTHREAD_SEMANTICS 00147 # define _POSIX_PTHREAD_SEMANTICS 1 00148 #endif 00149 /* Enable extensions on HP NonStop. */ 00150 #ifndef _TANDEM_SOURCE 00151 # define _TANDEM_SOURCE 1 00152 #endif 00153 /* Enable general extensions on Solaris. */ 00154 #ifndef __EXTENSIONS__ 00155 # define __EXTENSIONS__ 1 00156 #endif 00157 00158 00159 /* Version number of package */ 00160 #define VERSION "0.1" 00161 00162 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 00163 significant byte first (like Motorola and SPARC, unlike Intel). */ 00164 #if defined AC_APPLE_UNIVERSAL_BUILD 00165 # if defined __BIG_ENDIAN__ 00166 # define WORDS_BIGENDIAN 1 00167 # endif 00168 #else 00169 # ifndef WORDS_BIGENDIAN 00170 /* # undef WORDS_BIGENDIAN */ 00171 # endif 00172 #endif 00173 00174 /* Define to 1 if on MINIX. */ 00175 /* #undef _MINIX */ 00176 00177 /* Define to 2 if the system does not provide POSIX.1 features except with 00178 this defined. */ 00179 /* #undef _POSIX_1_SOURCE */ 00180 00181 /* Define to 1 if you need to in order for `stat' and other things to work. */ 00182 /* #undef _POSIX_SOURCE */ 00183 00184 /* Define to empty if `const' does not conform to ANSI C. */ 00185 /* #undef const */ 00186 00187 /* Define to `__inline__' or `__inline' if that's what the C compiler 00188 calls it, or to nothing if 'inline' is not supported under any name. */ 00189 #ifndef __cplusplus 00190 /* #undef inline */ 00191 #endif 00192 00193 /* Define to `unsigned int' if <sys/types.h> does not define. */ 00194 /* #undef size_t */ 00195 00196 00197 /* Define missing prototypes, implemented in replacement lib */ 00198 #ifdef __cplusplus 00199 extern "C" { 00200 #endif 00201 00202 #ifndef HAVE_GETOPT 00203 int getopt (int argc, char * const argv[], const char * optstring); 00204 extern char * optarg; 00205 extern int optind, opterr, optopt; 00206 #endif 00207 00208 #ifndef HAVE_USLEEP 00209 int usleep(unsigned long usec); /* SUSv2 */ 00210 #endif 00211 00212 #ifndef HAVE_NANOSLEEP 00213 #ifndef HAVE_STRUCT_TIMESPEC 00214 #if HAVE_SYS_TYPES_H 00215 # include <sys/types.h> /* need time_t */ 00216 #endif 00217 struct timespec { 00218 time_t tv_sec; 00219 long tv_nsec; 00220 }; 00221 #endif 00222 static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); } 00223 #endif 00224 00225 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP) 00226 #ifdef HAVE_WINBASE_H 00227 #include <windows.h> 00228 #include <winbase.h> 00229 #endif 00230 /* TODO: what about SleepEx? */ 00231 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; } 00232 #endif 00233 00234 #ifndef HAVE_GETTIMEOFDAY 00235 #ifdef HAVE_SYS_TIME_H 00236 #include <sys/time.h> 00237 #endif 00238 #ifndef HAVE_STRUCT_TIMEZONE 00239 struct timezone { 00240 int tz_minuteswest; 00241 int tz_dsttime; 00242 }; 00243 #endif 00244 int gettimeofday(struct timeval *tv, struct timezone *tz); 00245 #endif 00246 00247 #if !defined(HAVE_RANDOM) && defined(HAVE_RAND) 00248 #include <stdlib.h> 00249 static inline long int random (void) { return rand(); } 00250 #endif 00251 00252 #if !defined(HAVE_SRANDOM) && defined(HAVE_SRAND) 00253 static inline void srandom (unsigned int seed) { srand(seed); } 00254 #endif 00255 00256 #ifndef HAVE_SSIZE_T 00257 typedef size_t ssize_t; 00258 #endif 00259 00260 #ifdef __cplusplus 00261 } 00262 #endif 00263