aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/powerpc64-linux-gnu/bits
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-08 04:08:05 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-08-08 04:41:04 +0200
commit0b76be3a01dc09dbd3333a795203cb087629edbd (patch)
treea6bfaf31eaf2b6c13be7e1c9fa95bdeb2fbced36 /lib/libc/include/powerpc64-linux-gnu/bits
parent4381bac79270249f954c864145d69b20e7dbafa4 (diff)
downloadzig-0b76be3a01dc09dbd3333a795203cb087629edbd.tar.gz
zig-0b76be3a01dc09dbd3333a795203cb087629edbd.zip
Update glibc headers to 2.40.
Diffstat (limited to 'lib/libc/include/powerpc64-linux-gnu/bits')
-rw-r--r--lib/libc/include/powerpc64-linux-gnu/bits/fenv.h2
-rw-r--r--lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h2
-rw-r--r--lib/libc/include/powerpc64-linux-gnu/bits/struct_stat.h8
-rw-r--r--lib/libc/include/powerpc64-linux-gnu/bits/types/struct_msqid_ds.h2
-rw-r--r--lib/libc/include/powerpc64-linux-gnu/bits/types/struct_semid_ds.h2
-rw-r--r--lib/libc/include/powerpc64-linux-gnu/bits/types/struct_shmid_ds.h2
-rw-r--r--lib/libc/include/powerpc64-linux-gnu/bits/wordsize.h5
7 files changed, 11 insertions, 12 deletions
diff --git a/lib/libc/include/powerpc64-linux-gnu/bits/fenv.h b/lib/libc/include/powerpc64-linux-gnu/bits/fenv.h
index df090306de..d563eec30c 100644
--- a/lib/libc/include/powerpc64-linux-gnu/bits/fenv.h
+++ b/lib/libc/include/powerpc64-linux-gnu/bits/fenv.h
@@ -170,7 +170,7 @@ extern const fenv_t __fe_nonieee_env;
#endif
-#if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
+#if __GLIBC_USE (IEC_60559_BFP_EXT_C23)
/* Type representing floating-point control modes. */
typedef double femode_t;
diff --git a/lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h b/lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h
index f027d74d2e..903368810a 100644
--- a/lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h
+++ b/lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h
@@ -54,7 +54,7 @@
# define SO_TIMESTAMPNS_NEW 64
# define SO_TIMESTAMPING_NEW 65
-# ifdef __USE_TIME_BITS64
+# ifdef __USE_TIME64_REDIRECTS
# define SO_RCVTIMEO SO_RCVTIMEO_NEW
# define SO_SNDTIMEO SO_SNDTIMEO_NEW
# define SO_TIMESTAMP SO_TIMESTAMP_NEW
diff --git a/lib/libc/include/powerpc64-linux-gnu/bits/struct_stat.h b/lib/libc/include/powerpc64-linux-gnu/bits/struct_stat.h
index b457cf1ad2..dee9eeb367 100644
--- a/lib/libc/include/powerpc64-linux-gnu/bits/struct_stat.h
+++ b/lib/libc/include/powerpc64-linux-gnu/bits/struct_stat.h
@@ -28,7 +28,7 @@
#if __WORDSIZE == 32
struct stat
{
-# ifdef __USE_TIME_BITS64
+# ifdef __USE_TIME64_REDIRECTS
# include <bits/struct_stat_time64_helper.h>
# else
__dev_t st_dev; /* Device. */
@@ -79,13 +79,13 @@ struct stat
# endif
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
-# endif /* __USE_TIME_BITS64 */
+# endif /* __USE_TIME64_REDIRECTS */
};
# ifdef __USE_LARGEFILE64
struct stat64
{
-# ifdef __USE_TIME_BITS64
+# ifdef __USE_TIME64_REDIRECTS
# include <bits/struct_stat_time64_helper.h>
# else
__dev_t st_dev; /* Device. */
@@ -122,7 +122,7 @@ struct stat64
# endif
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
-# endif /* __USE_TIME_BITS64 */
+# endif /* __USE_TIME64_REDIRECTS */
};
# endif /* __USE_LARGEFILE64 */
diff --git a/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_msqid_ds.h b/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_msqid_ds.h
index a868b0d3f0..1b35456eed 100644
--- a/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_msqid_ds.h
+++ b/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_msqid_ds.h
@@ -26,7 +26,7 @@
The type `struct msg' is opaque. */
struct msqid_ds
{
-#ifdef __USE_TIME_BITS64
+#ifdef __USE_TIME64_REDIRECTS
# include <bits/types/struct_msqid64_ds_helper.h>
#else
struct ipc_perm msg_perm; /* structure describing operation permission */
diff --git a/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_semid_ds.h b/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_semid_ds.h
index 752ee29004..306d428bef 100644
--- a/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_semid_ds.h
+++ b/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_semid_ds.h
@@ -23,7 +23,7 @@
/* Data structure describing a set of semaphores. */
struct semid_ds
{
-#ifdef __USE_TIME_BITS64
+#ifdef __USE_TIME64_REDIRECTS
# include <bits/types/struct_semid64_ds_helper.h>
#else
struct ipc_perm sem_perm; /* operation permission struct */
diff --git a/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_shmid_ds.h b/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_shmid_ds.h
index 0512a74821..6e4369c1ab 100644
--- a/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_shmid_ds.h
+++ b/lib/libc/include/powerpc64-linux-gnu/bits/types/struct_shmid_ds.h
@@ -23,7 +23,7 @@
/* Data structure describing a shared memory segment. */
struct shmid_ds
{
-#ifdef __USE_TIME_BITS64
+#ifdef __USE_TIME64_REDIRECTS
# include <bits/types/struct_shmid64_ds_helper.h>
#else
struct ipc_perm shm_perm; /* operation permission struct */
diff --git a/lib/libc/include/powerpc64-linux-gnu/bits/wordsize.h b/lib/libc/include/powerpc64-linux-gnu/bits/wordsize.h
index 37836f9d4e..7b51c6738e 100644
--- a/lib/libc/include/powerpc64-linux-gnu/bits/wordsize.h
+++ b/lib/libc/include/powerpc64-linux-gnu/bits/wordsize.h
@@ -2,10 +2,9 @@
#if defined __powerpc64__
# define __WORDSIZE 64
-# define __WORDSIZE_TIME64_COMPAT32 1
#else
# define __WORDSIZE 32
-# define __WORDSIZE_TIME64_COMPAT32 0
# define __WORDSIZE32_SIZE_ULONG 0
# define __WORDSIZE32_PTRDIFF_LONG 0
-#endif \ No newline at end of file
+#endif
+#define __WORDSIZE_TIME64_COMPAT32 1 \ No newline at end of file