From 47a261dcf8106533e020402540da88bd98cf3360 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 1 May 2023 10:34:26 +0200 Subject: [PATCH] squash! kaem.run: Remove --bootstrap-mode. --- include/mes/cc.h | 6 ------ include/mes/lib-cc.h | 29 +++++++++++++++++++++++++++++ include/sys/types.h | 2 ++ 3 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 include/mes/lib-cc.h diff --git a/include/mes/cc.h b/include/mes/cc.h index 0c8cc794..1255537b 100644 --- a/include/mes/cc.h +++ b/include/mes/cc.h @@ -21,12 +21,6 @@ #ifndef __MES_CC_H #define __MES_CC_H -#define EOF -1 - -#if SYSTEM_LIBC -#define __raise(x) -1 -#endif - typedef struct scm* SCM; #if __MESC__ diff --git a/include/mes/lib-cc.h b/include/mes/lib-cc.h new file mode 100644 index 00000000..0549b57f --- /dev/null +++ b/include/mes/lib-cc.h @@ -0,0 +1,29 @@ +/* -*-comment-start: "//";comment-end:""-*- + * GNU Mes --- Maxwell Equations of Software + * Copyright © 2022 Jan (janneke) Nieuwenhuizen + * + * 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 . + */ +#ifndef __MES_LIB_CC_H +#define __MES_LIB_CC_H + +#define EOF -1 + +#if SYSTEM_LIBC +#define __raise(x) -1 +#endif + +#endif //__MES_LIB_CC_H diff --git a/include/sys/types.h b/include/sys/types.h index d7733bf6..b9e0d553 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -20,6 +20,8 @@ #ifndef __MES_SYS_TYPES_H #define __MES_SYS_TYPES_H 1 +#include + #if SYSTEM_LIBC #undef __MES_SYS_TYPES_H #include_next