Annotation of gcc/config/i386/xm-os2.h, revision 1.1.1.3

1.1       root        1: /* Configuration for GNU compiler
                      2:    for an Intel i386 or later processor running OS/2 2.x.
1.1.1.3 ! root        3:    Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
1.1       root        4:    Contributed by Samuel Figueroa ([email protected])
                      5: 
                      6: This file is part of GNU CC.
                      7: 
                      8: GNU CC is free software; you can redistribute it and/or modify
                      9: it under the terms of the GNU General Public License as published by
                     10: the Free Software Foundation; either version 2, or (at your option)
                     11: any later version.
                     12: 
                     13: GNU CC is distributed in the hope that it will be useful,
                     14: but WITHOUT ANY WARRANTY; without even the implied warranty of
                     15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     16: GNU General Public License for more details.
                     17: 
                     18: You should have received a copy of the GNU General Public License
                     19: along with GNU CC; see the file COPYING.  If not, write to
1.1.1.3 ! root       20: the Free Software Foundation, 59 Temple Place - Suite 330,
        !            21: Boston, MA 02111-1307, USA.  */
1.1       root       22: 
                     23: #ifndef OS2
                     24: #define OS2
                     25: #endif
                     26: 
                     27: #ifdef __IBMC__
                     28: #include <stdlib.h> /* this defines alloca */
                     29: #define USG
                     30: #define ONLY_INT_FIELDS
                     31: #define HAVE_PUTENV
                     32: #define USE_PROTOTYPES 1
                     33: #define bcmp(a,b,c) memcmp (a,b,c)
                     34: #define bcopy(a,b,c) memcpy (b,a,c)
                     35: #define bzero(a,b) memset (a,0,b)
                     36: #define index  strchr
                     37: #define rindex strrchr
1.1.1.3 ! root       38: #define strcasecmp stricmp
1.1       root       39: #define kill(a,b) raise(b)
                     40: #define mktemp tmpnam
                     41: #else
                     42: #define ____386BSD____
                     43: int spawnv (int modeflag, char *path, char *argv[]);
                     44: int spawnvp (int modeflag, char *path, char *argv[]);
                     45: #endif /* __IBMC__ */
1.1.1.3 ! root       46: 
1.1.1.2   root       47: #ifndef PATH_SEPARATOR
                     48: #define PATH_SEPARATOR ';'
                     49: #endif
1.1.1.3 ! root       50: #ifndef DIR_SEPARATOR
        !            51: #define DIR_SEPARATOR '\\'
        !            52: #endif
1.1       root       53: 
                     54: #define EXECUTABLE_SUFFIX ".exe"
1.1.1.3 ! root       55: #define OBJECT_SUFFIX ".obj"
1.1       root       56: 
                     57: #include "i386/xm-i386.h"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.