FreeBSD Bugzilla – Attachment 232867 Details for
Bug 262977
Preprocessor error in sys/contrib/zlib/crc32.c on arm64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
define Z_U8
crc.diff (text/plain), 646 bytes, created by
John F. Carr
on 2022-04-01 14:39:55 UTC
(
hide
)
Description:
define Z_U8
Filename:
MIME Type:
Creator:
John F. Carr
Created:
2022-04-01 14:39:55 UTC
Size:
646 bytes
patch
obsolete
>commit d16b660dee5241b21987b2907938eefc2f4ae719 >Author: jfc <jfc@mit.edu> >Date: Fri Apr 1 10:08:56 2022 -0400 > > Define Z_U8 in FreeBSD kernel context > >diff --git a/sys/contrib/zlib/zutil.h b/sys/contrib/zlib/zutil.h >index 834d30634c1..1c390c315fc 100644 >--- a/sys/contrib/zlib/zutil.h >+++ b/sys/contrib/zlib/zutil.h >@@ -53,6 +53,14 @@ typedef unsigned long ulg; > # endif > #endif > >+#if !defined(Z_U8) >+#ifdef __LP64__ >+#define Z_U8 unsigned long >+#else >+#define Z_U8 unsigned long long >+#endif >+#endif >+ > extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ > /* (size given to avoid silly warnings with Visual C++) */ >
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 262977
:
232867
|
232914
|
232915
|
232919