FreeBSD Bugzilla – Attachment 132374 Details for
Bug 176628
[headers] [patch] use safer way of definint __WORDSIZE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
wordsize.patch
wordsize.patch (text/plain), 572 bytes, created by
Dmitry Marakasov
on 2013-03-04 01:50:00 UTC
(
hide
)
Description:
wordsize.patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2013-03-04 01:50:00 UTC
Size:
572 bytes
patch
obsolete
>diff --git sys/sys/stdint.h sys/sys/stdint.h >index 762e879..de10869 100644 >--- sys/sys/stdint.h >+++ sys/sys/stdint.h >@@ -65,10 +65,12 @@ typedef __uintmax_t uintmax_t; > #endif > > /* GNU and Darwin define this and people seem to think it's portable */ >-#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) >-#define __WORDSIZE 64 >-#else >-#define __WORDSIZE 32 >+#if defined(UINTPTR_MAX) && defined(UINT64_MAX) >+# if UINTPTR_MAX == UINT64_MAX >+# define __WORDSIZE 64 >+# else >+# define __WORDSIZE 32 >+# endif > #endif > > /* Limits of wchar_t. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176628
: 132374 |
132375