Products Support Documentation Download
pspplatos.h
Go to the documentation of this file.
1 /*
2  * Raima Database Manager
3  *
4  * Copyright (C) 2016 Raima Inc., All rights reserved.
5  *
6  * Use of this software, whether in source code format, or in executable,
7  * binary object code form, is governed by the Raima LICENSE which
8  * is fully described in the LICENSE.TXT file, included within this
9  * distribution of files.
10  */
11 
23 #include "pspplatcpu.h"
24 
25 #if !defined(PSPPLATOS_H_INCLUDED_)
26 #define PSPPLATOS_H_INCLUDED_
27 
28 #if defined(RDM_DOXYGEN)
29 
30 #define RDM_ALLOCA_HAVE_ALLOCA
31 #undef RDM_ALLOCA_HAVE_ALLOCA
32 
34 #define RDM_ALLOCA_HAVE_MALLOC_H_WITH_ALLOCA
35 #undef RDM_ALLOCA_HAVE_MALLOC_H_WITH_ALLOCA
36 
38 #define RDM_ALLOCA_HAVE_VARIABLE_SIZE_ARRAY
39 #undef RDM_ALLOCA_HAVE_VARIABLE_SIZE_ARRAY
40 
42 #define RDM_ASSERT_INFINITE_LOOP
43 #undef RDM_ASSERT_INFINITE_LOOP
44 
46 #define RDM_ATOMIC_INTEGRITY
47 #undef RDM_ATOMIC_INTEGRITY
48 
50 #define RDM_ATOMIC_NO
51 #undef RDM_ATOMIC_NO
52 
54 #define RDM_ATOMIC_UNIX
55 #undef RDM_ATOMIC_UNIX
56 
58 #define RDM_ATOMIC_WINDOWS
59 #undef RDM_ATOMIC_WINDOWS
60 
62 #define RDM_COLLATE_NO
63 #undef RDM_COLLATE_NO
64 
66 #define RDM_COLLATE_REENTRANT
67 #undef RDM_COLLATE_REENTRANT
68 
70 #define RDM_COLLATE_UNIX
71 #undef RDM_COLLATE_UNIX
72 
74 #define RDM_COLLATE_WINDOWS
75 #undef RDM_COLLATE_WINDOWS
76 
78 #define RDM_CONVERT_NO_PREPRO
79 #undef RDM_CONVERT_NO_PREPRO
80 
82 #define RDM_CPP_HAVE_STD_STRING
83 #undef RDM_CPP_HAVE_STD_STRING
84 
86 #define RDM_DAEMON_NO
87 #undef RDM_DAEMON_NO
88 
90 #define RDM_DAEMON_UNIX
91 #undef RDM_DAEMON_UNIX
92 
94 #define RDM_ENV_HAVE_GETIFADDRS
95 #undef RDM_ENV_HAVE_GETIFADDRS
96 
98 #define RDM_ENV_NO
99 #undef RDM_ENV_NO
100 
102 #define RDM_ENV_LINUX
103 #undef RDM_ENV_LINUX
104 
106 #define RDM_ENV_OSX
107 #undef RDM_ENV_OSX
108 
110 #define RDM_ENV_UNIX
111 #undef RDM_ENV_UNIX
112 
114 #define RDM_ENV_VXWORKS
115 #undef RDM_ENV_VXWORKS
116 
118 #define RDM_ENV_VXWORKS_RTP
119 #undef RDM_ENV_VXWORKS_RTP
120 
122 #define RDM_ENV_WINDOWS
123 #undef RDM_ENV_WINDOWS
124 
126 #define RDM_FEATURES_CRT_NONSTDC_NO_DEPRECATE
127 #undef RDM_FEATURES_CRT_NONSTDC_NO_DEPRECATE
128 
130 #define RDM_FEATURES_CRT_SECURE_NO_DEPRECATE
131 #undef RDM_FEATURES_CRT_SECURE_NO_DEPRECATE
132 
134 #define RDM_FEATURES_CRT_SECURE_NO_WARNINGS
135 #undef RDM_FEATURES_CRT_SECURE_NO_WARNINGS
136 
138 #define RDM_FEATURES_GNU_SOURCE
139 #undef RDM_FEATURES_GNU_SOURCE
140 
142 #define RDM_FEATURES_POSIX_C_SOURCE
143 #undef RDM_FEATURES_POSIX_C_SOURCE
144 
146 #define RDM_FEATURES_REENTRANT
147 #undef RDM_FEATURES_REENTRANT
148 
150 #define RDM_FEATURES_RW_MULTI_THREAD
151 #undef RDM_FEATURES_RW_MULTI_THREAD
152 
154 #define RDM_FEATURES__EXTENSIONS__
155 #undef RDM_FEATURES__EXTENSIONS__
156 
158 #define RDM_FILE_HAVE_DIR_SYNC
159 #undef RDM_FILE_HAVE_DIR_SYNC
160 
162 #define RDM_FILE_HAVE_FALLOCATE
163 #undef RDM_FILE_HAVE_FALLOCATE
164 
166 #define RDM_FILE_HAVE_FLOCK
167 #undef RDM_FILE_HAVE_FLOCK
168 
170 #define RDM_FILE_HAVE_LOCKF
171 #undef RDM_FILE_HAVE_LOCKF
172 
174 #define RDM_FILE_HAVE_POSIX_FADVISE
175 #undef RDM_FILE_HAVE_POSIX_FADVISE
176 
178 #define RDM_FILE_HAVE_PREAD
179 #undef RDM_FILE_HAVE_PREAD
180 
182 #define RDM_FILE_LOCK_NO
183 #undef RDM_FILE_LOCK_NO
184 
187 #define RDM_FILE_NO
188 #undef RDM_FILE_NO
189 
191 #define RDM_FILE_RED
192 #undef RDM_FILE_RED
193 
196 #define RDM_FILE_STDIO
197 #undef RDM_FILE_STDIO
198 
201 #define RDM_FILE_UNIX
202 #undef RDM_FILE_UNIX
203 
206 #define RDM_FILE_WINDOWS
207 #undef RDM_FILE_WINDOWS
208 
210 #define RDM_FLOAT_BITMASKS_FOR_ISFINITE_AND_ISN
211 #undef RDM_FLOAT_BITMASKS_FOR_ISFINITE_AND_ISN
212 
214 #define RDM_FLOAT_HAVE_FLOORF
215 #undef RDM_FLOAT_HAVE_FLOORF
216 
218 #define RDM_FLOAT_HAVE_ISFINITE
219 #undef RDM_FLOAT_HAVE_ISFINITE
220 
222 #define RDM_HAS_SHARED_MEMORY
223 #undef RDM_HAS_SHARED_MEMORY
224 
226 #define RDM_LOGGING
227 #undef RDM_LOGGING
228 
230 #define RDM_LOGGING_NO
231 #undef RDM_LOGGING_NO
232 
234 #define RDM_MATH_GCC_BUILTIN
235 #undef RDM_MATH_GCC_BUILTIN
236 
238 #define RDM_MATH_CONST_VALUES_H
239 #undef RDM_MATH_CONST_VALUES_H
240 
242 #define RDM_MATH_CONST_FLOAT_H
243 #undef RDM_MATH_CONST_FLOAT_H
244 
246 #define RDM_MEM_ALIGN_4K
247 #undef RDM_MEM_ALIGN_4K
248 
250 #define RDM_MEM_MALLOC
251 #undef RDM_MEM_MALLOC
252 
254 #define RDM_MEM_MMAP
255 #undef RDM_MEM_MMAP
256 
258 #define RDM_MEM_VXWORKS
259 #undef RDM_MEM_VXWORKS
260 
262 #define RDM_MEM_NO
263 #undef RDM_MEM_NO
264 
266 #define RDM_MEM_STATIC_SIZE
267 #undef RDM_MEM_STATIC_SIZE
268 
271 #define RDM_MEM_VIRTUAL_ALLOC
272 #undef RDM_MEM_VIRTUAL_ALLOC
273 
275 #define RDM_STR_HAVE_STRCASECMP
276 #undef RDM_STR_HAVE_STRCASECMP
277 
279 #define RDM_STR_HAVE_STRCASESTR
280 #undef RDM_STR_HAVE_STRCASESTR
281 
283 #define RDM_STR_HAVE_STRNCASECMP
284 #undef RDM_STR_HAVE_STRNCASECMP
285 
287 #define RDM_STR_HAVE_STRNCMP
288 #undef RDM_STR_HAVE_STRNCMP
289 
291 #define RDM_STR_HAVE_STRTOLL
292 #undef RDM_STR_HAVE_STRTOLL
293 
295 #define RDM_STR_HAVE_STRUPR
296 #undef RDM_STR_HAVE_STRUPR
297 
299 #define RDM_TAG_HAVE_FFSLL
300 #undef RDM_TAG_HAVE_FFSLL
301 
303 #define RDM_TCP
304 #undef RDM_TCP
305 
307 #define RDM_TCP
308 #undef RDM_TCP
309 
311 #define RDM_TCP_ACCEPT_NO_DELAY
312 #undef RDM_TCP_ACCEPT_NO_DELAY
313 
315 #define RDM_TCP_CONNECT_NO_DELAY
316 #undef RDM_TCP_CONNECT_NO_DELAY
317 
319 #define RDM_TCP_DONT_USE_KEEPALIVES
320 #undef RDM_TCP_DONT_USE_KEEPALIVES
321 
323 #define RDM_TCP_HAVE_MSG_NOSIGNAL
324 #undef RDM_TCP_HAVE_MSG_NOSIGNAL
325 
327 #define RDM_TCP_HAVE_POLL
328 #undef RDM_TCP_HAVE_POLL
329 
331 #define RDM_TCP_HAVE_QOS
332 #undef RDM_TCP_HAVE_QOS
333 
335 #define RDM_TCP_LOCALHOST "127.0.0.1"
336 #undef RDM_TCP_LOCALHOST
337 
339 #define RDM_TCP_NO_IPV6
340 #undef RDM_TCP_NO_IPV6
341 
343 #define RDM_THREAD_BASE_PRIORITY
344 #undef RDM_THREAD_BASE_PRIORITY
345 
347 #define RDM_THREAD_FREE_RTOS
348 #undef RDM_THREAD_FREE_RTOS
349 
351 #define RDM_THREAD_INC_PRIORITY
352 #undef RDM_THREAD_INC_PRIORITY
353 
355 #define RDM_THREAD_INTEGRITY
356 #undef RDM_THREAD_INTEGRITY
357 
359 #define RDM_THREAD_NO
360 #undef RDM_THREAD_NO
361 
363 #define RDM_THREAD_PTHREAD
364 #undef RDM_THREAD_PTHREAD
365 
367 #define RDM_THREAD_VXWORKS
368 #undef RDM_THREAD_VXWORKS
369 
371 #define RDM_THREAD_WINDOWS
372 #undef RDM_THREAD_WINDOWS
373 
375 #define RDM_TIME_FREE_RTOS
376 #undef RDM_TIME_FREE_RTOS
377 
379 #define RDM_TIME_HAVE_CLOCK_GETTIME
380 #undef RDM_TIME_HAVE_CLOCK_GETTIME
381 
383 #define RDM_TIME_HAVE_TIME64_T
384 #undef RDM_TIME_HAVE_TIME64_T
385 
387 #define RDM_TIME_NO
388 #undef RDM_TIME_NO
389 
391 #define RDM_TIME_UNIX
392 #undef RDM_TIME_UNIX
393 
395 #define RDM_TIME_WINDOWS
396 #undef RDM_TIME_WINDOWS
397 
399 #define RDM_UNICODE
400 #undef RDM_UNICODE
401 
403 #define RDM_UNIX
404 #undef RDM_UNIX
405 
407 #define RDM_VARARGS_HAVE_VA_COPY
408 #undef RDM_VARARGS_HAVE_VA_COPY
409 
411 #define RDM_VSNPRINTF
412 #undef RDM_VSNPRINTF
413 
420 #define RDM_HAVE_STRTOK_R
421 #undef RDM_HAVE_STRTOK_R
422 
429 #define RDM_HAVE_STRTOK_S
430 #undef RDM_HAVE_STRTOK_S
431 
433 #define RDM_COMPRESS_HAVE_LZMA
434 #undef RDM_COMPRESS_HAVE_LZMA
435 
436 #elif defined(RDM_LINUX)
437 #define RDM_ALLOCA_HAVE_VARIABLE_SIZE_ARRAY
438 #define RDM_ATOMIC_UNIX
439 #define RDM_COLLATE_REENTRANT
440 #define RDM_COLLATE_UNIX
441 #define RDM_CPP_HAVE_STD_STRING
442 #define RDM_DAEMON_UNIX
443 #define RDM_ENV_LINUX
444 #define RDM_FEATURES_GNU_SOURCE
445 #define RDM_FEATURES_REENTRANT
446 #define RDM_FILE_HAVE_DIR_SYNC
447 #define RDM_FILE_HAVE_FALLOCATE
448 #define RDM_FILE_HAVE_FLOCK
449 #define RDM_FILE_HAVE_POSIX_FADVISE
450 #define RDM_FILE_HAVE_PREAD
451 #define RDM_FILE_UNIX
452 #define RDM_FLOAT_HAVE_FLOORF
453 #define RDM_FLOAT_HAVE_ISFINITE
454 #define RDM_HAS_SHARED_MEMORY
455 #define RDM_HAVE_FORK
456 #define RDM_LOGGING
457 #define RDM_MATH_CONST_VALUES_H
458 #define RDM_MEM_ALIGN_4K
459 #define RDM_MEM_MMAP
460 #define RDM_STR_HAVE_STRCASECMP
461 #define RDM_STR_HAVE_STRCASESTR
462 #define RDM_STR_HAVE_STRNCASECMP
463 #define RDM_STR_HAVE_STRNCMP
464 #define RDM_TAG_HAVE_FFSLL
465 #define RDM_TCP
466 #define RDM_TCP_ACCEPT_NO_DELAY
467 #define RDM_TCP_HAVE_MSG_NOSIGNAL
468 #define RDM_TCP_HAVE_POLL
469 #define RDM_TCP_HAVE_QOS
470 #define RDM_TCP_LOCALHOST "localhost"
471 #define RDM_THREAD_PTHREAD
472 #define RDM_TIME_HAVE_CLOCK_GETTIME
473 #define RDM_TIME_UNIX
474 #define RDM_UNIX
475 #define RDM_HAVE_STRTOK_R
476 #define RDM_VARARGS_HAVE_VA_COPY
477 #define RDM_COMPRESS_HAVE_LZMA
478 
479 #elif defined(RDM_NEUTRINO)
480 #define RDM_ATOMIC_UNIX
481 #define RDM_CPP_HAVE_STD_STRING
482 #define RDM_DAEMON_UNIX
483 #define RDM_ENV_UNIX
484 #define RDM_FILE_HAVE_DIR_SYNC
485 #define RDM_FILE_HAVE_FLOCK
486 #define RDM_FILE_HAVE_PREAD
487 #define RDM_FILE_UNIX
488 #define RDM_FLOAT_HAVE_FLOORF
489 #define RDM_FLOAT_HAVE_ISFINITE
490 #define RDM_HAS_SHARED_MEMORY
491 #define RDM_LOGGING
492 #define RDM_MATH_CONST_FLOAT_H
493 #define RDM_STR_HAVE_STRCASECMP
494 #define RDM_STR_HAVE_STRNCASECMP
495 #define RDM_STR_HAVE_STRNCMP
496 #define RDM_TAG_HAVE_FFSLL
497 #define RDM_TCP
498 #define RDM_TCP_ACCEPT_NO_DELAY
499 #define RDM_TCP_HAVE_MSG_NOSIGNAL
500 #define RDM_TCP_HAVE_POLL
501 #define RDM_TCP_HAVE_QOS
502 #define RDM_TCP_LOCALHOST "localhost"
503 #define RDM_THREAD_PTHREAD
504 #define RDM_TIME_HAVE_CLOCK_GETTIME
505 #define RDM_TIME_UNIX
506 #define RDM_UNIX
507 #define RDM_HAVE_STRTOK_R
508 #define RDM_VARARGS_HAVE_VA_COPY
509 #define RDM_COMPRESS_HAVE_LZMA
510 
511 #elif defined(RDM_IPHONE)
512 #define RDM_ATOMIC_UNIX
513 #define RDM_CPP_HAVE_STD_STRING
514 #define RDM_DAEMON_UNIX
515 #define RDM_ENV_OSX
516 #define RDM_FILE_HAVE_DIR_SYNC
517 #define RDM_FILE_HAVE_FLOCK
518 #define RDM_FILE_HAVE_PREAD
519 #define RDM_FILE_UNIX
520 #define RDM_FLOAT_HAVE_FLOORF
521 #define RDM_FLOAT_HAVE_ISFINITE
522 #define RDM_LOGGING
523 #define RDM_MATH_CONST_FLOAT_H
524 #define RDM_STR_HAVE_STRCASECMP
525 #define RDM_STR_HAVE_STRCASESTR
526 #define RDM_STR_HAVE_STRNCASECMP
527 #define RDM_STR_HAVE_STRNCMP
528 #define RDM_TAG_HAVE_FFSLL
529 #define RDM_TCP
530 #define RDM_TCP_HAVE_POLL
531 #define RDM_TCP_LOCALHOST "localhost"
532 #define RDM_THREAD_PTHREAD
533 #define RDM_TIME_UNIX
534 #define RDM_UNIX
535 #define RDM_HAVE_STRTOK_R
536 #define RDM_VARARGS_HAVE_VA_COPY
537 #define RDM_COMPRESS_HAVE_LZMA
538 
539 #elif defined(RDM_OSX)
540 #define RDM_ATOMIC_UNIX
541 #define RDM_COLLATE_REENTRANT
542 #define RDM_COLLATE_UNIX
543 #define RDM_CPP_HAVE_STD_STRING
544 #define RDM_DAEMON_UNIX
545 #define RDM_ENV_OSX
546 #define RDM_FILE_HAVE_DIR_SYNC
547 #define RDM_FILE_HAVE_FLOCK
548 #define RDM_FILE_HAVE_PREAD
549 #define RDM_FILE_UNIX
550 #define RDM_FLOAT_HAVE_FLOORF
551 #define RDM_FLOAT_HAVE_ISFINITE
552 #define RDM_HAS_SHARED_MEMORY
553 #define RDM_LOGGING
554 #define RDM_MATH_CONST_FLOAT_H
555 #define RDM_MEM_ALIGN_4K
556 #define RDM_MEM_MMAP
557 #define RDM_STR_HAVE_STRCASECMP
558 #define RDM_STR_HAVE_STRCASESTR
559 #define RDM_STR_HAVE_STRNCASECMP
560 #define RDM_STR_HAVE_STRNCMP
561 #define RDM_TAG_HAVE_FFSLL
562 #define RDM_TCP
563 #define RDM_TCP_HAVE_POLL
564 #define RDM_TCP_LOCALHOST "localhost"
565 #define RDM_THREAD_PTHREAD
566 #define RDM_TIME_UNIX
567 #define RDM_UNIX
568 #define RDM_HAVE_STRTOK_R
569 #define RDM_VARARGS_HAVE_VA_COPY
570 #define RDM_COMPRESS_HAVE_LZMA
571 
572 #elif defined(RDM_SOLARIS)
573 #define RDM_ATOMIC_UNIX
574 #define RDM_COLLATE_NO
575 #define RDM_CPP_HAVE_STD_STRING
576 #define RDM_DAEMON_UNIX
577 #define RDM_ENV_UNIX
578 #define RDM_FEATURES_POSIX_C_SOURCE 200112
579 #define RDM_FEATURES__EXTENSIONS__
580 #define RDM_FILE_HAVE_DIR_SYNC
581 #define RDM_FILE_HAVE_LOCKF
582 #define RDM_FILE_HAVE_PREAD
583 #define RDM_FILE_UNIX
584 #define RDM_FLOAT_HAVE_FLOORF
585 #define RDM_FLOAT_HAVE_ISFINITE
586 #define RDM_HAS_SHARED_MEMORY
587 #define RDM_LOGGING
588 #define RDM_MATH_CONST_FLOAT_H
589 #define RDM_MEM_ALIGN_4K
590 #define RDM_MEM_MMAP
591 #define RDM_STR_HAVE_STRCASECMP
592 #define RDM_STR_HAVE_STRNCASECMP
593 #define RDM_STR_HAVE_STRNCMP
594 #define RDM_TCP
595 #define RDM_TCP_HAVE_POLL
596 #define RDM_TCP_LOCALHOST "localhost"
597 #define RDM_THREAD_PTHREAD
598 #define RDM_TIME_UNIX
599 #define RDM_UNIX
600 #define RDM_HAVE_STRTOK_R
601 #define RDM_VARARGS_HAVE_VA_COPY
602 #define RDM_COMPRESS_HAVE_LZMA
603 
604 #elif defined(RDM_WINDOWS)
605 #define RDM_HAVE_STRTOK_S
606 #define RDM_ALLOCA_HAVE_ALLOCA
607 #define RDM_ALLOCA_HAVE_MALLOC_H_WITH_ALLOCA
608 #define RDM_ATOMIC_WINDOWS
609 #define RDM_COLLATE_REENTRANT
610 #define RDM_COLLATE_WINDOWS
611 #define RDM_CPP_HAVE_STD_STRING
612 #define RDM_DAEMON_NO
613 #define RDM_ENV_WINDOWS
614 #define RDM_FEATURES_CRT_NONSTDC_NO_DEPRECATE
615 #define RDM_FEATURES_CRT_SECURE_NO_DEPRECATE
616 #define RDM_FEATURES_CRT_SECURE_NO_WARNINGS
617 #define RDM_FILE_WINDOWS
618 #define RDM_FLOAT_HAVE_FLOORF
619 #define RDM_MATH_CONST_FLOAT_H
620 #define RDM_HAS_SHARED_MEMORY
621 #define RDM_LOGGING
622 #define RDM_MEM_ALIGN_4K
623 #define RDM_MEM_VIRTUAL_ALLOC
624 #define RDM_STR_HAVE_STRNCMP
625 #define RDM_STR_HAVE_STRUPR
626 #define RDM_TCP
627 #define RDM_TCP_CONNECT_NO_DELAY
628 #define RDM_TCP_DONT_USE_KEEPALIVES
629 #define RDM_TCP_HAVE_POLL
630 #define RDM_TCP_LOCALHOST "localhost"
631 #define RDM_THREAD_WINDOWS
632 #define RDM_TIME_WINDOWS
633 #define RDM_UNICODE
634 #if (_MSC_VER > 1600)
635 #define RDM_VARARGS_HAVE_VA_COPY
636 #endif
637 #define RDM_COMPRESS_HAVE_LZMA
638 
639 #elif defined(RDM_VXWORKS_RTP)
640 #if defined(__DCC__)
641 #define RDM_ATOMIC_NO
642 #else
643 #define RDM_ATOMIC_UNIX
644 #endif
645 #define RDM_COLLATE_NO
646 #define RDM_CPP_HAVE_STD_STRING
647 #define RDM_DAEMON_NO
648 #define RDM_ENV_VXWORKS_RTP
649 #define RDM_FEATURES_REENTRANT
650 #define RDM_FEATURES_RW_MULTI_THREAD
651 #define RDM_FILE_HAVE_DIR_SYNC
652 #define RDM_FILE_LOCK_NO
653 #define RDM_FILE_UNIX
654 #define RDM_FLOAT_HAVE_FLOORF
655 #define RDM_FLOAT_HAVE_ISFINITE
656 #define RDM_LOGGING
657 #define RDM_MATH_CONST_FLOAT_H
658 #define RDM_MEM_ALIGN_4K
659 #define RDM_MEM_VXWORKS
660 #define RDM_STR_HAVE_STRNCMP
661 #define RDM_TCP
662 #define RDM_TCP_DONT_USE_KEEPALIVES
663 #define RDM_TCP_NO_IPV6
664 #define RDM_TCP_LOCALHOST "localhost"
665 #define RDM_THREAD_PTHREAD
666 #define RDM_TIME_HAVE_CLOCK_GETTIME
667 #define RDM_TIME_UNIX
668 #define RDM_UNIX
669 #define RDM_HAVE_STRTOK_R
670 #define RDM_VARARGS_HAVE_VA_COPY
671 #define RDM_COMPRESS_HAVE_LZMA
672 
673 #elif defined(RDM_VXWORKS)
674 #define RDM_ATOMIC_NO
675 #define RDM_COLLATE_NO
676 #define RDM_CPP_HAVE_STD_STRING
677 #define RDM_DAEMON_NO
678 #define RDM_ENV_VXWORKS
679 #define RDM_FEATURES_REENTRANT
680 #define RDM_FEATURES_RW_MULTI_THREAD
681 #define RDM_FILE_LOCK_NO
682 #define RDM_FILE_UNIX
683 #define RDM_FLOAT_BITMASKS_FOR_ISFINITE_AND_ISNAN
684 #define RDM_LOGGING
685 #define RDM_MATH_CONST_FLOAT_H
686 #define RDM_MEM_ALIGN_4K
687 #define RDM_MEM_VXWORKS
688 #define RDM_TCP
689 #define RDM_TCP_DONT_USE_KEEPALIVES
690 #define RDM_TCP_NO_IPV6
691 #define RDM_TCP_LOCALHOST "localhost"
692 #define RDM_THREAD_BASE_PRIORITY 120
693 #define RDM_THREAD_INC_PRIORITY -2
694 #define RDM_THREAD_VXWORKS
695 #define RDM_TIME_HAVE_CLOCK_GETTIME
696 #define RDM_TIME_UNIX
697 #define RDM_UNIX
698 #define RDM_HAVE_STRTOK_R
699 #define RDM_COMPRESS_HAVE_LZMA
700 
701 #elif defined(RDM_INTEGRITY)
702 #define RDM_ATOMIC_INTEGRITY
703 #define RDM_CONVERT_NO_PREPRO
704 #define RDM_CPP_HAVE_STD_STRING
705 #define RDM_DAEMON_NO
706 #define RDM_FEATURES_REENTRANT
707 #define RDM_FILE_HAVE_DIR_SYNC
708 #define RDM_FILE_LOCK_NO
709 #define RDM_FILE_UNIX
710 #define RDM_FLOAT_HAVE_FLOORF
711 #define RDM_FLOAT_HAVE_ISFINITE
712 #define RDM_MATH_CONST_FLOAT_H
713 #define RDM_LOGGING
714 #define RDM_MEM_MALLOC
715 #define RDM_STR_HAVE_STRNCMP
716 #define RDM_TCP
717 #define RDM_TCP_HAVE_POLL
718 #define RDM_TCP_LOCALHOST "127.0.0.1"
719 #define RDM_THREAD_BASE_PRIORITY 127
720 #define RDM_THREAD_INTEGRITY
721 #define RDM_THREAD_PTHREAD
722 #define RDM_UNIX
723 #define RDM_HAVE_STRTOK_R
724 #define RDM_VARARGS_HAVE_VA_COPY
725 #define RDM_COMPRESS_HAVE_LZMA
726 
727 #elif defined(RDM_ANDROID)
728 #define RDM_ATOMIC_UNIX
729 #define RDM_COLLATE_NO
730 #define RDM_CPP_HAVE_STD_STRING
731 #define RDM_DAEMON_UNIX
732 #define RDM_ENV_LINUX
733 #define RDM_FEATURES_GNU_SOURCE
734 #define RDM_FEATURES_REENTRANT
735 #define RDM_FILE_HAVE_DIR_SYNC
736 #define RDM_FILE_HAVE_PREAD
737 #define RDM_FILE_UNIX
738 #define RDM_FLOAT_HAVE_FLOORF
739 #define RDM_FLOAT_HAVE_ISFINITE
740 #define RDM_HAS_SHARED_MEMORY
741 #define RDM_LOGGING
742 #define RDM_MATH_CONST_VALUES_H
743 #define RDM_STR_HAVE_STRCASECMP
744 #define RDM_STR_HAVE_STRCASESTR
745 #define RDM_STR_HAVE_STRNCASECMP
746 #define RDM_STR_HAVE_STRNCMP
747 #define RDM_TCP
748 #define RDM_TCP_HAVE_MSG_NOSIGNAL
749 #define RDM_TCP_LOCALHOST "localhost"
750 #define RDM_TIME_UNIX
751 #define RDM_UNIX
752 #define RDM_HAVE_STRTOK_R
753 #define RDM_VARARGS_HAVE_VA_COPY
754 #define RDM_COMPRESS_HAVE_LZMA
755 
756 #elif defined(RDM_FREE_RTOS)
757 #define RDM_FEATURES_GNU_SOURCE
758 #define RDM_ALLOCA_HAVE_VARIABLE_SIZE_ARRAY
759 #define RDM_ASSERT_INFINITE_LOOP
760 #define RDM_ATOMIC_NO
761 #define RDM_COLLATE_NO
762 #define RDM_DAEMON_NO
763 #define RDM_ENV_NO
764 #define RDM_FILE_UNIX
765 #define RDM_FILE_LOCK_NO
766 #define RDM_FLOAT_HAVE_FLOORF
767 #define RDM_FLOAT_HAVE_ISFINITE
768 #define RDM_LOGGING_NO
769 #define RDM_MATH_GCC_BUILTIN
770 #define RDM_MEM_MALLOC
771 #define RDM_THREAD_FREE_RTOS
772 #define RDM_TIME_FREE_RTOS
773 #define RDM_HAVE_STRTOK_R
774 #define RDM_VARARGS_HAVE_VA_COPY
775 
776 #elif defined(RDM_NO_OS)
777 #define RDM_COMPRESS_HAVE_LZMA
778 #define RDM_ALLOCA_HAVE_ALLOCA
779 #if defined(_MSC_VER)
780 #define RDM_ALLOCA_HAVE_MALLOC_H_WITH_ALLOCA
781 #define RDM_MATH_CONST_FLOAT_H
782 #else
783 #define RDM_MATH_GCC_BUILTIN
784 #define RDM_FLOAT_HAVE_ISFINITE
785 #define RDM_VARARGS_HAVE_VA_COPY
786 #endif
787 #define RDM_ASSERT_INFINITE_LOOP
788 #define RDM_ATOMIC_NO
789 #define RDM_COLLATE_NO
790 #define RDM_DAEMON_NO
791 #define RDM_ENV_NO
792 #define RDM_FILE_NO
793 #define RDM_FILE_STDIO
794 #define RDM_FLOAT_HAVE_FLOORF
795 #define RDM_LOGGING_NO
796 #define RDM_MEM_NO
797 #define RDM_MEM_STATIC_SIZE 0x400000
798 #define RDM_THREAD_NO
799 #define RDM_TIME_NO
800 #else
801 #error No OS specific section found
802 #endif
803 
804 #if defined(RDM_THREAD_NO)
805 #undef RDM_THREAD_FREE_RTOS
806 #undef RDM_THREAD_PTHREAD
807 #undef RDM_THREAD_WINDOWS
808 #undef RDM_THREAD_INTEGRITY
809 #undef RDM_THREAD_VXWORKS
810 #undef RDM_HAS_SHARED_MEMORY
811 #endif
812 
813 #endif /* PSPPLATOS_H_INCLUDED_ */
Header for the Platform Support Package - Dependent settings for each CPU for each OS...