]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/mips/bits/wordsize.h
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / mips / bits / wordsize.h
index c738d28e927013a6a0938862aabd7859cf7ebb7b..8e81cab8bfea49d59e5f3149439d11638bc16de7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library.  If not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
+
+#include <sgidefs.h>
+
+#define __WORDSIZE                     _MIPS_SZPTR
 
-#define __WORDSIZE     _MIPS_SZPTR
 #if _MIPS_SIM == _ABI64
-# define __WORDSIZE_COMPAT32   1
+# define __WORDSIZE_TIME64_COMPAT32    1
+#else
+# define __WORDSIZE_TIME64_COMPAT32    0
+#endif
+
+#if __WORDSIZE == 32
+#define __WORDSIZE32_SIZE_ULONG                0
+#define __WORDSIZE32_PTRDIFF_LONG      0
 #endif