home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DMAKE38C.ZIP / OS2 / IBM / CONFIG.H next >
C/C++ Source or Header  |  1992-01-23  |  3KB  |  79 lines

  1. /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/os2/ibm/config.h,v 1.1 1992/01/24 03:29:29 dvadura Exp $
  2. -- SYNOPSIS -- Configurarion include file.
  3. -- 
  4. -- DESCRIPTION
  5. --     There is one of these for each specific machine configuration.
  6. --    It can be used to further tweek the machine specific sources
  7. --    so that they compile.
  8. --
  9. -- AUTHOR
  10. --      Dennis Vadura, dvadura@watdragon.uwaterloo.ca
  11. --      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
  12. --
  13. -- COPYRIGHT
  14. --      Copyright (c) 1990 by Dennis Vadura.  All rights reserved.
  15. -- 
  16. --      This program is free software; you can redistribute it and/or
  17. --      modify it under the terms of the GNU General Public License
  18. --      (version 1), as published by the Free Software Foundation, and
  19. --      found in the file 'LICENSE' included with this distribution.
  20. -- 
  21. --      This program is distributed in the hope that it will be useful,
  22. --      but WITHOUT ANY WARRANTY; without even the implied warrant of
  23. --      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  24. --      GNU General Public License for more details.
  25. -- 
  26. --      You should have received a copy of the GNU General Public License
  27. --      along with this program;  if not, write to the Free Software
  28. --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  29. --
  30. -- LOG
  31. --     $Log: config.h,v $
  32.  * Revision 1.1  1992/01/24  03:29:29  dvadura
  33.  * dmake Version 3.8, Initial revision
  34.  *
  35. */
  36.  
  37. #if defined (_MSC_VER)
  38. # if _MSC_VER < 500
  39.     Force a compile-time blowup.
  40.     Do not define define _MSC_VER for MSC compilers ealier than 5.0.
  41. # endif
  42. #endif
  43.  
  44. /* define this for configurations that don't have the coreleft function
  45.  * so that the code compiles.  To my knowledge coreleft exists only on
  46.  * Turbo C, but it is needed here since the function is used in many debug
  47.  * macros. */
  48. #define coreleft() 0L
  49.  
  50. /* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */
  51. #ifndef SIGTERM
  52. #   define SIGTERM SIGINT
  53. #endif
  54.  
  55. /* This should already be defined under C6.0, also for OS/2 we want buffering
  56.  * to minimise the mess during parallel makes.
  57.  */
  58. #ifndef _IOLBF
  59. #   define _IOLBF   _IOFBF
  60. #endif
  61.  
  62. /* in alloc.h: size_t is redefined
  63.  * defined in stdio.h which is included by alloc.h
  64.  */
  65. #if defined(MSDOS) && defined (_MSC_VER)
  66. #   define _TYPES_
  67. #endif
  68.  
  69. /* Don't need this one either */
  70. #define CONST
  71.  
  72. /* in sysintf.c: SIGQUIT is used, this is not defined in MSC */
  73. #ifndef SIGQUIT
  74. #   define SIGQUIT SIGTERM
  75. #endif
  76.  
  77. /* a small problem with pointer to voids on some unix machines needs this */
  78. #define PVOID void *
  79.