home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / mswv052.zip / os2 / config.h next >
C/C++ Source or Header  |  1999-04-23  |  3KB  |  104 lines

  1. /* config.h.  Generated automatically by configure.  */
  2. #define __GNU_LIBRARY__
  3.  
  4. /* config.h.in.  Generated automatically from configure.in by autoheader.  */
  5.  
  6. /* Define to empty if the keyword does not work.  */
  7. /* #undef const */
  8.  
  9. /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
  10. #define HAVE_SYS_WAIT_H 1
  11.  
  12. /* Define if you have the wait3 system call.  */
  13. #undef HAVE_WAIT3
  14.  
  15. /* Define if you have the waitpid system call.  */
  16. #define HAVE_WAITPID
  17.  
  18. /* Define as the return type of signal handlers (int or void).  */
  19. #define RETSIGTYPE void
  20.  
  21. /* Define if you have the <errno.h> header file.  */
  22. #define HAVE_ERRNO_H 1
  23.  
  24. #define HAVE_POSIX_SIGNALS 1
  25.  
  26. /* Define to `int' if <sys/types.h> doesn't define.  */
  27. /* #undef pid_t */
  28.  
  29. /* Define if you have the ANSI C header files.  */
  30. #define STDC_HEADERS 1
  31.  
  32. /* Define if you have the <fcntl.h> header file.  */
  33. #define HAVE_FCNTL_H 1
  34.  
  35. /* Define if you have the <sys/file.h> header file.  */
  36. #define HAVE_SYS_FILE_H 1
  37.  
  38. /* Define if you have the <sys/ioctl.h> header file.  */
  39. #define HAVE_SYS_IOCTL_H 1
  40.  
  41. /* Define if you have the <unistd.h> header file.  */
  42. #define HAVE_UNISTD_H 1
  43.  
  44. /* Define if you want zlib to uncompress wmf files */
  45. #define SYSTEM_ZLIB
  46.  
  47. #if defined(HAVE_SYS_WAIT_H)
  48. #include <sys/wait.h>
  49. #endif
  50.  
  51.  
  52. #if defined (ultrix) && defined (mips) && defined (_POSIX_VERSION)
  53. #  define WAITPID(pid, statusp, options) \
  54. wait3 ((union wait *)statusp, options, (struct rusage *)0)
  55. #else
  56. #  if defined (_POSIX_VERSION) || defined (HAVE_WAITPID)
  57. #    define WAITPID(pid, statusp, options) \
  58. waitpid ((pid_t)pid, statusp, options)
  59. #  else
  60. #    if defined (HAVE_WAIT3)
  61. #      define WAITPID(pid, statusp, options) \
  62. wait3 (statusp, options, (struct rusage *)0)
  63. #    else
  64. #      define WAITPID(pid, statusp, options) 
  65. #    endif /* HAVE_WAIT3 */
  66. #  endif /* !_POSIX_VERSION && !HAVE_WAITPID*/
  67. #endif /* !(Ultrix && mips && _POSIX_VERSION) */
  68.  
  69.  
  70. /*signal things*/
  71. #include <signal.h>
  72.  
  73. #if !defined (HAVE_POSIX_SIGNALS)
  74. #  define signal_handle(sig, handler) signal (sig, handler)
  75. #else
  76. extern void signal_handle();   /* in c code*/
  77. #if !defined (SA_RESTART)
  78. #  define SA_RESTART 0
  79. #endif
  80. #endif /* _POSIX_VERSION */
  81.  
  82. typedef RETSIGTYPE SigHandler ();
  83.  
  84.  
  85. #ifdef HAVE_UNISTD_H
  86. #include <unistd.h>
  87. #endif
  88. #ifdef HAVE_FCNTL_H
  89. #include <fcntl.h>
  90. #endif
  91.  
  92. #if defined(HAVE_ERRNO_H)
  93. #include <errno.h>
  94. #endif
  95.  
  96. #include <sys/types.h>
  97. #include <sys/stat.h>
  98. #include <limits.h>
  99. #include <dirent.h>
  100. #include <stdarg.h>
  101.  
  102. #include <getopt.h>
  103.  
  104.