diff options
author | Douglas B Rupp <rupp@gnat.com> | 2001-11-24 17:12:17 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-11-24 17:12:17 -0500 |
commit | 1dfc53859fcf91234f677869b0e0e10f709444a4 (patch) | |
tree | 183952cfa081588ab271efa31aedad82f0458976 | |
parent | 7201ce79359664aad8db3c602e93fece5f05f484 (diff) | |
download | gcc-1dfc53859fcf91234f677869b0e0e10f709444a4.zip gcc-1dfc53859fcf91234f677869b0e0e10f709444a4.tar.gz gcc-1dfc53859fcf91234f677869b0e0e10f709444a4.tar.bz2 |
xm-vms.h (FILE_TYPE): Remove undef and baggage.
* config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
(__UNIX_FOPEN): Define.
From-SVN: r47306
-rw-r--r-- | gcc/config/alpha/xm-vms.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/gcc/config/alpha/xm-vms.h b/gcc/config/alpha/xm-vms.h index e5c380a..0b918d1 100644 --- a/gcc/config/alpha/xm-vms.h +++ b/gcc/config/alpha/xm-vms.h @@ -19,22 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* If compiling with DECC, need to fix problem with <stdio.h> - which defines a macro called FILE_TYPE that breaks "tree.h". - Fortunately it uses #ifndef to suppress multiple inclusions. - Three possible cases: - 1) <stdio.h> has already been included -- ours will be no-op; - 2) <stdio.h> will be included after us -- "theirs" will be no-op; - 3) <stdio.h> isn't needed -- including it here shouldn't hurt. - In all three cases, the problem macro will be removed here. */ - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#ifdef __DECC -#undef FILE_TYPE -#endif - #define HOST_WIDE_INT long long #define HOST_BITS_PER_WIDE_INT 64 @@ -60,6 +44,9 @@ Boston, MA 02111-1307, USA. */ Posix compatible failure and success codes to be used */ #define _POSIX_EXIT 1 +/* Open files in stream mode if not otherwise explicitly specified */ +#define __UNIX_FOPEN 1 + #define STDC_HEADERS 1 #define HOST_EXECUTABLE_SUFFIX ".exe" |