vaseboot/VasEBoot-core/lib/posix_wrap/limits.h

36 lines
1.1 KiB
C

/*
* VasEBoot -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* VasEBoot 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.
*
* VasEBoot 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 VasEBoot. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef VasEBoot_POSIX_LIMITS_H
#define VasEBoot_POSIX_LIMITS_H
#include <VasEBoot/types.h>
#define UCHAR_MAX VasEBoot_UCHAR_MAX
#define USHRT_MAX VasEBoot_USHRT_MAX
#define UINT_MAX VasEBoot_UINT_MAX
#define ULONG_MAX VasEBoot_ULONG_MAX
#define SIZE_MAX VasEBoot_SIZE_MAX
#define SHRT_MAX VasEBoot_SHRT_MAX
#define INT_MAX VasEBoot_INT_MAX
#define CHAR_BIT 8
#endif