Advertisement
Guest User

bx@stdc.h

a guest
Jul 17th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.24 KB | None | 0 0
  1. /*
  2. :<<'BX@MDMAN'
  3. %bx@stdc(3c)(1)
  4.  
  5. # NAME
  6.  
  7. **bx@stdc(3c)** — include all standard C headers that are part of the C standard in use
  8.  
  9. # COPYRIGHT
  10.  
  11. Copyright © 2017 Petr Skocik <borgx.space@gmail.com>
  12.  
  13. BX@MDMAN
  14. */
  15.  
  16. #if !__STDC__
  17. #       error "< C89"
  18. #endif
  19.  
  20. #if __STDC_HOSTED__
  21.  
  22. #   include <assert.h>
  23. #   include <ctype.h>
  24. #   include <errno.h>
  25. #   include <float.h>
  26. #   include <limits.h>
  27. #   include <locale.h>
  28. #   include <math.h>
  29. #   include <setjmp.h>
  30. #   include <signal.h>
  31. #   include <stdarg.h>
  32. #   include <stddef.h>
  33. #   include <stdio.h>
  34. #   include <stdlib.h>
  35. #   include <string.h>
  36. #   include <time.h>
  37.  
  38. #   if __STDC_VERSION__ >= 199409L  /*>= C94 */
  39. #       include <iso646.h>
  40. #       include <wctype.h>
  41. #       include <wchar.h>
  42. #   endif
  43.  
  44. #   if __STDC_VERSION__ >= 199901L /*>= C99*/
  45. #       if !__STDC_NO_COMPLEX__
  46. #           include <complex.h>
  47. #           include <tgmath.h>
  48.         #endif
  49. #       include <fenv.h>
  50. #       include <inttypes.h>
  51. #       include <stdbool.h>
  52. #       include <stdint.h>
  53. #   endif
  54.  
  55. #   if __STDC_VERSION__ >= 201112L /*>= C11*/
  56. #       include <stdalign.h>
  57. #       if !__STDC_NO_ATOMICS__
  58. #           include <stdatomic.h>
  59. #       endif
  60. #       include <stdnoreturn.h>
  61. #       if !__STDC_NO_THREADS__
  62. #           include <threads.h>
  63. #       endif
  64. #       include <uchar.h>
  65. #   endif
  66.  
  67. #endif /*HOSTED*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement