Add SIZE_T_MAX to <machine/rtems-bsd-user-space.h>

This commit is contained in:
Sebastian Huber 2016-10-24 08:07:56 +02:00
parent f0aaa04240
commit 0ba419717b
3 changed files with 2 additions and 6 deletions

View File

@ -51,9 +51,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#ifdef __rtems__
#define SIZE_T_MAX SIZE_MAX
#endif /* __rtems__ */
#include <err.h>
#include "pfctl.h"

View File

@ -23,9 +23,6 @@ __FBSDID("$FreeBSD$");
#include "dhcpd.h"
#include "privsep.h"
#ifdef __rtems__
#define SIZE_T_MAX SIZE_MAX
#endif /* __rtems__ */
struct buf *
buf_open(size_t len)

View File

@ -61,6 +61,8 @@
#define CLOCK_MONOTONIC_FAST CLOCK_MONOTONIC
#endif
#define SIZE_T_MAX SIZE_MAX
__BEGIN_DECLS
/* FIXME: Add to Newlib */