mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7089790: integrate bsd-port changes
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com> Co-authored-by: Jung-uk Kim <jkim@freebsd.org> Co-authored-by: Christos Zoulas <christos@zoulas.com> Co-authored-by: Landon Fuller <landonf@plausible.coop> Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org> Co-authored-by: Michael Franz <mvfranz@gmail.com> Co-authored-by: Roger Hoover <rhoover@apple.com> Co-authored-by: Alexander Strange <astrange@apple.com> Reviewed-by: kvn, twisti, jrose
This commit is contained in:
parent
52f0eccb24
commit
95c56a472b
291 changed files with 26162 additions and 145 deletions
|
@ -74,8 +74,25 @@
|
|||
# ifdef SOLARIS_MUTATOR_LIBTHREAD
|
||||
# include <sys/procfs.h>
|
||||
# endif
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
// Solaris 8 doesn't provide definitions of these
|
||||
#ifdef SOLARIS
|
||||
#ifndef PRIdPTR
|
||||
#if defined(_LP64)
|
||||
#define PRIdPTR "ld"
|
||||
#define PRIuPTR "lu"
|
||||
#define PRIxPTR "lx"
|
||||
#else
|
||||
#define PRIdPTR "d"
|
||||
#define PRIuPTR "u"
|
||||
#define PRIxPTR "x"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef LINUX
|
||||
# include <inttypes.h>
|
||||
# include <signal.h>
|
||||
# include <ucontext.h>
|
||||
# include <sys/time.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue