forked from KolibriOS/kolibrios
Adding menuetlibc back to its place in /programs/develop/libraries
This version of menuetlibc was taken from revision 4743, right before I made any changes git-svn-id: svn://kolibrios.org@4973 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/* i386 is little-endian. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
16
programs/develop/libraries/menuetlibc/include/bits/stdio.h
Normal file
16
programs/develop/libraries/menuetlibc/include/bits/stdio.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __BITS_STDIO_H
|
||||
#define __BITS_STDIO_H
|
||||
|
||||
struct file_stream_ops {
|
||||
int (* s_putc)(struct __FILE *,int);
|
||||
int (* s_getc)(struct __FILE *,int *);
|
||||
int (* s_read)(struct __FILE *,void *,int);
|
||||
int (* s_write)(struct __FILE *,void *,int);
|
||||
int (* s_seek)(struct __FILE *,int,int);
|
||||
int (* s_flush)(struct __FILE *);
|
||||
};
|
||||
|
||||
#define STM_OP(x,n) \
|
||||
(x)->std_ops->s_##n
|
||||
|
||||
#endif
|
26
programs/develop/libraries/menuetlibc/include/bits/wchar.h
Normal file
26
programs/develop/libraries/menuetlibc/include/bits/wchar.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* wchar_t type related definitions.
|
||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#ifndef _BITS_WCHAR_H
|
||||
#define _BITS_WCHAR_H 1
|
||||
|
||||
#define __WCHAR_MIN (-2147483647l - 1l)
|
||||
#define __WCHAR_MAX (2147483647l)
|
||||
|
||||
#endif /* bits/wchar.h */
|
@@ -0,0 +1,19 @@
|
||||
/* Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#define __WORDSIZE 32
|
Reference in New Issue
Block a user