2 * Creation Date: <2003/12/20 00:07:16 samuel>
3 * Time-stamp: <2004/01/19 17:40:26 stepan>
9 * Copyright (C) 2003, 2004 Samuel Rydh (samuel@ibrium.se)
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
22 #include "asm/types.h"
24 #define PROGRAM_NAME "OpenBIOS"
29 #define NULL ((void*)0)
32 typedef unsigned int size_t;
33 typedef unsigned int usize_t
;
34 typedef signed int ssize_t
;
35 typedef signed int off_t
;
37 typedef unsigned int time_t;
39 #define UINT_MAX ((unsigned int)-1)
47 #define ENAMETOOLONG 7
53 #endif /* BOOTSTRAP */
55 #include "sysinclude.h"
58 #define MIN(x,y) (((x) < (y)) ? (x) : (y))
59 #define MAX(x,y) (((x) > (y)) ? (x) : (y))
62 /* errno is a macro on some systems, which might cause nasty problems.
63 * We try to cope with this here.
66 #define errno errno_int
68 #endif /* _H_CONFIG */