mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
cross: Move Solaris API64 defines to common
off64_t is needed for both Linux (musl) and MacOS, so move them to the common area. Somehow glibc provides the definition, but defining it doesn't hurt and hels in the musl case. Reviewed by: allanjude, jrtc27 Pull Request: https://github.com/freebsd/freebsd-src/pull/1066
This commit is contained in:
parent
f81c0904f7
commit
59aa64914a
|
@ -45,3 +45,6 @@
|
||||||
* Neither GLibc nor macOS define __va_list but many FreeBSD headers require it.
|
* Neither GLibc nor macOS define __va_list but many FreeBSD headers require it.
|
||||||
*/
|
*/
|
||||||
typedef __builtin_va_list __va_list;
|
typedef __builtin_va_list __va_list;
|
||||||
|
|
||||||
|
/* Needed for opensolaris compat. */
|
||||||
|
typedef __int64_t off64_t;
|
||||||
|
|
|
@ -41,5 +41,3 @@
|
||||||
* __darwin_ct_rune_t exists.
|
* __darwin_ct_rune_t exists.
|
||||||
*/
|
*/
|
||||||
typedef __darwin_ct_rune_t __ct_rune_t;
|
typedef __darwin_ct_rune_t __ct_rune_t;
|
||||||
/* Needed for opensolaris compat. */
|
|
||||||
typedef __int64_t off64_t;
|
|
||||||
|
|
Loading…
Reference in a new issue