mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 02:59:14 +08:00
Use unmodified FreeBSD versions for port_*.h
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#ifndef _PORT_AFTER_H_
|
||||
#define _PORT_AFTER_H_
|
||||
|
||||
#define HAVE_SA_LEN 1
|
||||
#define HAS_INET6_STRUCTS 1
|
||||
#define HAVE_SIN6_SCOPE_ID 1
|
||||
#define HAVE_TIME_R 1
|
||||
|
||||
#endif /* _PORT_AFTER_H_ */
|
||||
|
@@ -17,6 +17,6 @@
|
||||
var = _u.v; \
|
||||
} while (0)
|
||||
|
||||
#define UNUSED(x) (void)(x)
|
||||
#define UNUSED(x) (x) = (x)
|
||||
|
||||
#endif /* _PORT_BEFORE_H_ */
|
||||
|
Reference in New Issue
Block a user