squash! kaem.run: Remove --bootstrap-mode.
* include/mes/cc.h (__raise): ...here. * include/sys/types.h (EOF): Move to... * include/mes/cc.h (EOF): ...here, and... * include/m2/types.h (EOF): ...here, to avoid M2-Planet crash.
This commit is contained in:
parent
aaf9d178d4
commit
6ddf5b17de
|
@ -20,6 +20,13 @@
|
||||||
#ifndef __M2_TYPES_H
|
#ifndef __M2_TYPES_H
|
||||||
#define __M2_TYPES_H 1
|
#define __M2_TYPES_H 1
|
||||||
|
|
||||||
|
// FIXME M2_Planet chokes on -1, even inside #if ! __M2__
|
||||||
|
#if __arm__ || __i386__
|
||||||
|
#define EOF 0xffffffff
|
||||||
|
#else
|
||||||
|
#define EOF 0xffffffffffffffff
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#ifndef __MES_CLOCK_T
|
#ifndef __MES_CLOCK_T
|
||||||
#define __MES_CLOCK_T
|
#define __MES_CLOCK_T
|
||||||
|
|
|
@ -21,6 +21,12 @@
|
||||||
#ifndef __MES_CC_H
|
#ifndef __MES_CC_H
|
||||||
#define __MES_CC_H
|
#define __MES_CC_H
|
||||||
|
|
||||||
|
#define EOF -1
|
||||||
|
|
||||||
|
#if SYSTEM_LIBC
|
||||||
|
#define __raise(x) -1
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct scm* SCM;
|
typedef struct scm* SCM;
|
||||||
|
|
||||||
#if __MESC__
|
#if __MESC__
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
/* -*-comment-start: "//";comment-end:""-*-
|
|
||||||
* GNU Mes --- Maxwell Equations of Software
|
|
||||||
* Copyright © 2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
||||||
*
|
|
||||||
* This file is part of GNU Mes.
|
|
||||||
*
|
|
||||||
* GNU Mes is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 3 of the License, or (at
|
|
||||||
* your option) any later version.
|
|
||||||
*
|
|
||||||
* GNU Mes is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#ifndef __MES_LIB_SYSTEM_H
|
|
||||||
#define __MES_LIB_SYSTEM_H
|
|
||||||
|
|
||||||
#if SYSTEM_LIBC
|
|
||||||
#define __raise(x) -1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif //__MES_LIB_SYSTEM_H
|
|
|
@ -185,6 +185,5 @@ long seconds_and_nanoseconds_to_long (long s, long ns);
|
||||||
#include "mes/builtins.h"
|
#include "mes/builtins.h"
|
||||||
#include "mes/constants.h"
|
#include "mes/constants.h"
|
||||||
#include "mes/symbols.h"
|
#include "mes/symbols.h"
|
||||||
#include "mes/lib-system.h"
|
|
||||||
|
|
||||||
#endif /* __MES_MES_H */
|
#endif /* __MES_MES_H */
|
||||||
|
|
|
@ -31,15 +31,6 @@
|
||||||
#define __MESCCLIB__ 15
|
#define __MESCCLIB__ 15
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef EOF
|
|
||||||
// FIXME M2_Planet chokes on -1, even inside #if ! __M2__
|
|
||||||
#if __arm__ || __i386__
|
|
||||||
#define EOF 0xffffffff
|
|
||||||
#else
|
|
||||||
#define EOF 0xffffffffffffffff
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NULL
|
#ifndef NULL
|
||||||
#define NULL 0
|
#define NULL 0
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue