home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmake40.zip / unix / coherent / config.h next >
C/C++ Source or Header  |  1994-10-23  |  2KB  |  60 lines

  1. /*
  2. -- COHERENT config.h
  3. -- SYNOPSIS -- Configurarion include file.
  4. -- 
  5. -- DESCRIPTION
  6. --     There is one of these for each specific machine configuration.
  7. --    It can be used to further tweek the machine specific sources
  8. --    so that they compile.
  9. --
  10. -- AUTHOR
  11. --      Dennis Vadura, dvadura@watdragon.uwaterloo.ca
  12. --      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
  13. --
  14. -- COPYRIGHT
  15. --      Copyright (c) 1992,1994 by Dennis Vadura.  All rights reserved.
  16. -- 
  17. --      This program is free software; you can redistribute it and/or
  18. --      modify it under the terms of the GNU General Public License
  19. --      (version 1), as published by the Free Software Foundation, and
  20. --      found in the file 'LICENSE' included with this distribution.
  21. -- 
  22. --      This program is distributed in the hope that it will be useful,
  23. --      but WITHOUT ANY WARRANTY; without even the implied warrant of
  24. --      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  25. --      GNU General Public License for more details.
  26. -- 
  27. --      You should have received a copy of the GNU General Public License
  28. --      along with this program;  if not, write to the Free Software
  29. --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  30. --
  31. -- LOG
  32. --     $Log: config.h,v $
  33.  * Revision 1.1  1994/10/06  17:42:26  dvadura
  34.  * dmake Release Version 4.0, Initial revision
  35.  *
  36. */
  37.  
  38. /* define this for configurations that don't have the coreleft function
  39.  * so that the code compiles.  To my knowledge coreleft exists only on
  40.  * Turbo C, but it is needed here since the function is used in many debug
  41.  * macros. */
  42. #define coreleft() 0L
  43.  
  44. extern char *getcwd ();
  45.  
  46. /* Define setvbuf, SysV doesn't have one */
  47. #define setvbuf(fp, bp, type, len) setbuf( fp, NULL );
  48. #define tzset settz
  49.  
  50. /* We don't care about CONST */
  51. #define CONST
  52. #define void int
  53. typedef paddr_t off_t;
  54.  
  55. /* options. . . */
  56. #define ASCARCH 0
  57.  
  58. /* a small problem with pointer to voids on some unix machines needs this */
  59. #define PVOID void *
  60.