home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / gcc / config / winnt / xm-winnt.h < prev   
C/C++ Source or Header  |  1995-12-27  |  2KB  |  74 lines

  1. /* Configuration for GNU compiler for processor running Windows NT 3.x.
  2.    Copyright (C) 1993, 1995 Free Software Foundation, Inc.
  3.    Contributed by Douglas B. Rupp (drupp@cs.washington.edu)
  4.  
  5. This file is part of GNU CC.
  6.  
  7. GNU CC is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2, or (at your option)
  10. any later version.
  11.  
  12. GNU CC is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with GNU CC; see the file COPYING.  If not, write to
  19. the Free Software Foundation, 59 Temple Place - Suite 330,
  20. Boston, MA 02111-1307, USA.  */
  21.  
  22. #include <stdlib.h>
  23.  
  24. #ifndef USG
  25. #define USG 1
  26. #endif
  27.  
  28. #ifndef ONLY_INT_FIELD
  29. #define ONLY_INT_FIELDS 1
  30. #endif
  31.  
  32. #ifndef USE_PROTOTYPES
  33. #define USE_PROTOTYPES 1
  34. #endif
  35.  
  36. #ifndef HAVE_PUTENV
  37. #define HAVE_PUTENV 1
  38. #endif
  39.  
  40. #ifndef HAVE_VPRINTF
  41. #define HAVE_VPRINTF 1
  42. #endif
  43.  
  44. #define NO_SYS_SIGLIST 1
  45. #define bcmp(a,b,c) memcmp (a,b,c)
  46. #ifndef bcopy
  47. #define bcopy(a,b,c) memcpy (b,a,c)
  48. #endif
  49. #ifndef bzero
  50. #define bzero(a,b) memset (a,0,b)
  51. #endif
  52. #define index  strchr
  53. #define rindex strrchr
  54. #define kill(a,b) raise(b)
  55.  
  56. #define OBJECT_SUFFIX ".o"
  57. #define EXECUTABLE_SUFFIX ".exe"
  58. #define PATH_SEPARATOR ';'
  59. #define DIR_SEPARATOR '\\'
  60.  
  61. #define S_IRUSR 0000400
  62. #define S_IWUSR 0000200
  63. #define S_IXUSR 0000100
  64. #define S_IRGRP 0000040
  65. #define S_IWGRP 0000020
  66. #define S_IXGRP 0000010
  67. #define S_IROTH 0000004
  68. #define S_IWOTH 0000002
  69. #define S_IXOTH 0000001
  70. #define S_IRWXU S_IRUSR | S_IWUSR | S_IXUSR
  71. #define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
  72. #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
  73.  
  74.