home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rexxtk12.zip / defines.h < prev    next >
Text File  |  2002-08-07  |  8KB  |  248 lines

  1. /*
  2.  * Copyright (C) 1998-1999  Mark Hessling <M.Hessling@qut.edu.au>
  3.  *
  4.  * This library is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU Library General Public
  6.  * License as published by the Free Software Foundation; either
  7.  * version 2 of the License, or (at your option) any later version.
  8.  *
  9.  * This library is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12.  * Library General Public License for more details.
  13.  *
  14.  * You should have received a copy of the GNU Library General Public
  15.  * License along with this library; if not, write to the Free
  16.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  */
  18.  
  19. /*
  20.  * For platforms that don't use autoconf, put these here...
  21.  */
  22.  
  23. #if defined(DOS) && defined(__EMX__)
  24. # define HAVE_ASSERT_H        1
  25. # define HAVE_CTYPE_H         1
  26. # define HAVE_IO_H            1
  27. # define HAVE_LIMITS_H        1
  28. # define HAVE_MALLOC_H        1
  29. # define HAVE_SETJMP_H        1
  30. # define HAVE_SIGNAL_H        1
  31. # define HAVE_STDARG_H        1
  32. # define HAVE_STDLIB_H        1
  33. # define HAVE_SYS_STAT_H      1
  34. # define HAVE_SYS_TYPES_H     1
  35. # define HAVE_STRING_H        1
  36. # define HAVE_UNISTD_H        1
  37. # define HAVE__FULLPATH       1
  38. # define HAVE_GETOPT          1
  39. # define HAVE_PUTENV          1
  40. # define HAVE_GETTIMEOFDAY    1
  41. # define HAVE_FTRUNCATE       1
  42. # define HAVE_MEMCPY          1
  43. # define HAVE_MEMMOVE         1
  44. # define HAVE_STRERROR        1
  45. # define HAVE_VSPRINTF        1
  46. # define TIME_WITH_SYS_TIME   1
  47. #endif
  48.  
  49. #if (defined(OS2) || defined(__OS2__)) && defined(__EMX__)
  50. # define HAVE_ASSERT_H        1
  51. # define HAVE_CTYPE_H         1
  52. # define HAVE_FTRUNCATE       1
  53. # define HAVE_GETOPT          1
  54. # define HAVE_GETTIMEOFDAY    1
  55. # define HAVE_IO_H            1
  56. # define HAVE_LIMITS_H        1
  57. # define HAVE_MALLOC_H        1
  58. # define HAVE_MEMCPY          1
  59. # define HAVE_MEMMOVE         1
  60. # define HAVE_PUTENV          1
  61. # define HAVE_SETJMP_H        1
  62. # define HAVE_SIGNAL_H        1
  63. # define HAVE_STDARG_H        1
  64. # define HAVE_STDLIB_H        1
  65. # define HAVE_STRERROR        1
  66. # define HAVE_STRING_H        1
  67. # define HAVE_SYS_STAT_H      1
  68. # define HAVE_SYS_TYPES_H     1
  69. # define HAVE_TIME_H          1
  70. # define HAVE_UNISTD_H        1
  71. # define HAVE_VSPRINTF        1
  72. # define HAVE__FULLPATH       1
  73. # define TIME_WITH_SYS_TIME   1
  74. #endif
  75.  
  76. #if (defined(OS2) || defined(__OS2__)) && defined(__IBMC__)
  77. # define HAVE_ASSERT_H        1
  78. # define HAVE_CTYPE_H         1
  79. # define HAVE_FTRUNCATE       1
  80. # define HAVE_GETTIMEOFDAY    1
  81. # define HAVE_IO_H            1
  82. # define HAVE_MEMCPY          1
  83. # define HAVE_MEMMOVE         1
  84. # define HAVE_PUTENV          1
  85. # define HAVE_SETJMP_H        1
  86. # define HAVE_ERRNO_H         1
  87. # define HAVE_STDARG_H        1
  88. # define HAVE_STDLIB_H        1
  89. # define HAVE_STRERROR        1
  90. # define HAVE_SYS_STAT_H      1
  91. # define HAVE_VSPRINTF        1
  92. # define HAVE__FULLPATH       1
  93. # define TIME_WITH_SYS_TIME   1
  94. #endif
  95.  
  96. #if (defined(OS2) || defined(__OS2__)) && defined(__WATCOMC__)
  97. # define HAVE_ASSERT_H        1
  98. # define HAVE_CTYPE_H         1
  99. # define HAVE_IO_H            1
  100. # define HAVE_MALLOC_H        1
  101. # define HAVE_MEMCPY          1
  102. # define HAVE_MEMMOVE         1
  103. # define HAVE_PUTENV          1
  104. # define HAVE_SETJMP_H        1
  105. # define HAVE_STDARG_H        1
  106. # define HAVE_STRERROR        1
  107. # define HAVE_SYS_STAT_H      1
  108. # define HAVE_UNISTD_H        1
  109. # define HAVE_VSPRINTF        1
  110. # define HAVE__FULLPATH       1
  111. #endif
  112.  
  113. #if defined(WIN32) && defined(__WATCOMC__)
  114. # define HAVE_ASSERT_H        1
  115. # define HAVE_CTYPE_H         1
  116. # define HAVE_FTIME           1
  117. # define HAVE_IO_H            1
  118. # define HAVE_MALLOC_H        1
  119. # define HAVE_MEMCPY          1
  120. # define HAVE_MEMMOVE         1
  121. # define HAVE_SETENV          1
  122. # define HAVE_SETJMP_H        1
  123. # define HAVE_STDARG_H        1
  124. # define HAVE_STRERROR        1
  125. # define HAVE_SYS_STAT_H      1
  126. # define HAVE_UNISTD_H        1
  127. # define HAVE_VSPRINTF        1
  128. # define HAVE__FULLPATH       1
  129. # define HAVE__SPLITPATH2     1
  130. /* # define HAVE_FTRUNCATE      1*/
  131. #endif
  132.  
  133. #if defined(WIN32) && defined(_MSC_VER)
  134. # define HAVE_ASSERT_H        1
  135. # define HAVE_CTYPE_H         1
  136. # define HAVE_FTIME           1
  137. # define HAVE_FTRUNCATE       1
  138. # define HAVE_IO_H            1
  139. # define HAVE_LIMITS_H        1
  140. # define HAVE_MALLOC_H        1
  141. # define HAVE_MEMCPY          1
  142. # define HAVE_MEMMOVE         1
  143. # define HAVE_SETJMP_H        1
  144. # define HAVE_SIGNAL_H        1
  145. # define HAVE_STDARG_H        1
  146. # define HAVE_STDLIB_H        1
  147. # define HAVE_STRERROR        1
  148. # define HAVE_STRING_H        1
  149. # define HAVE_SYS_STAT_H      1
  150. # define HAVE_VFPRINTF        1
  151. # define HAVE__FULLPATH       1
  152. # define HAVE__SPLITPATH      1
  153. #endif
  154.  
  155. #if defined(WIN32) && defined(__CYGWIN32__)
  156. # define HAVE_ASSERT_H        1
  157. # define HAVE_CTYPE_H         1
  158. # define HAVE_FTRUNCATE       1
  159. # define HAVE_GETTIMEOFDAY    1
  160. # define HAVE_GRP_H           1
  161. # define HAVE_IO_H            1
  162. # define HAVE_LIMITS_H        1
  163. # define HAVE_MALLOC_H        1
  164. # define HAVE_MEMCPY          1
  165. # define HAVE_MEMMOVE         1
  166. # define HAVE_PROCESS_H       1
  167. # define HAVE_PUTENV          1
  168. # define HAVE_PWD_H           1
  169. # define HAVE_SETJMP_H        1
  170. # define HAVE_SIGNAL_H        1
  171. # define HAVE_STDLIB_H        1
  172. # define HAVE_STRERROR        1
  173. # define HAVE_STRING_H        1
  174. # define HAVE_SYS_STAT_H      1
  175. # define HAVE_SYS_TYPES_H     1
  176. # define HAVE_UNISTD_H        1
  177. # define HAVE_VFPRINTF        1
  178. # define TIME_WITH_SYS_TIME   1
  179. /* # define HAVE_FULLPATH        1 */
  180. #endif
  181.  
  182. #if defined(WIN32) && defined(__MINGW32__)
  183. # define HAVE_ASSERT_H        1
  184. # define HAVE_CTYPE_H         1
  185. # define HAVE_IO_H            1
  186. # define HAVE_LIMITS_H        1
  187. # define HAVE_MALLOC_H        1
  188. # define HAVE_MEMCPY          1
  189. # define HAVE_MEMMOVE         1
  190. # define HAVE_PROCESS_H       1
  191. # define HAVE_PUTENV          1
  192. # define HAVE_SETJMP_H        1
  193. # define HAVE_SIGNAL_H        1
  194. # define HAVE_STDLIB_H        1
  195. # define HAVE_STRERROR        1
  196. # define HAVE_STRING_H        1
  197. # define HAVE_SYS_STAT_H      1
  198. # define HAVE_SYS_TYPES_H     1
  199. # define HAVE_UNISTD_H        1
  200. # define HAVE_VFPRINTF        1
  201. # define TIME_WITH_SYS_TIME   1
  202. /* # define HAVE_FTRUNCATE       1 */
  203. /* # define HAVE_FULLPATH        1 */
  204. /* # define HAVE_GETTIMEOFDAY    1 */
  205. #endif
  206.  
  207. #if defined(DOS) && defined(DJGPP)
  208. # define HAVE_ASSERT_H        1
  209. # define HAVE_CTYPE_H         1
  210. # define HAVE_FTRUNCATE       1
  211. # define HAVE_GETOPT          1
  212. # define HAVE_GETTIMEOFDAY    1
  213. # define HAVE_IO_H            1
  214. # define HAVE_LIMITS_H        1
  215. # define HAVE_MALLOC_H        1
  216. # define HAVE_MEMCPY          1
  217. # define HAVE_MEMMOVE         1
  218. # define HAVE_PUTENV          1
  219. # define HAVE_RANDOM          1
  220. # define HAVE_SETJMP_H        1
  221. # define HAVE_STDARG_H        1
  222. # define HAVE_STRERROR        1
  223. # define HAVE_STRING_H        1
  224. # define HAVE_SYS_STAT_H      1
  225. # define HAVE_SYS_TYPES_H     1
  226. # define HAVE_TRUENAME        1
  227. # define HAVE_UNISTD_H        1
  228. # define HAVE_USLEEP          1
  229. # define HAVE_VFPRINTF        1
  230. # define TIME_WITH_SYS_TIME   1
  231. # ifndef _MAX_PATH
  232. #  define _MAX_PATH           PATH_MAX
  233. # endif
  234. #endif
  235.  
  236. #if defined(_AMIGA)
  237. # define HAVE_ASSERT_H        1
  238. # define HAVE_MEMCPY          1
  239. # define HAVE_MEMMOVE         1
  240. # define HAVE_PUTENV          1
  241. # define HAVE_SETJMP_H        1
  242. # define HAVE_STRERROR        1
  243. # define HAVE_SYS_STAT_H      1
  244. # define HAVE_UNISTD_H        1
  245. # define HAVE_VFPRINTF        1
  246. # define UNIX                 1
  247. #endif
  248.