On Thu, 5 Oct 2017 07:42:21 -0700, Robert Mustacchi wrote:
On 10/5/17 7:29 , Gordon Ross wrote:
I don't think you can "just add those" without breaking some namespace
pollution rules (i.e. XPG etc.)
I'm not sure what the right #ifdef guard would be, but I'm pretty sure
it would need one.
This would require:
#if !defined(_STRICT_SYMBOLS)
...
#endif
But those aren't really symbols. I wonder what namespace pollution we
are talking about here?
On Sun, Oct 1, 2017 at 12:25 PM, Igor Kozhukhov <[email protected]> wrote:
Hi All,
i’d like proposed try to update sys/typs.h by changes what are available in
FreeBSD for better portality:
igor@z172:~/users/igor/dilos-illumos$ g diff
diff --git a/usr/src/uts/common/sys/types.h b/usr/src/uts/common/sys/types.h
index dcb2c86283..a2e37263b8 100644
--- a/usr/src/uts/common/sys/types.h
+++ b/usr/src/uts/common/sys/types.h
@@ -58,6 +58,11 @@
#include <sys/types32.h>
#endif
+typedef uint8_t u_int8_t; /* unsigned integrals
(deprecated) */
+typedef uint16_t u_int16_t;
+typedef uint32_t u_int32_t;
+typedef uint64_t u_int64_t;
+
#ifdef __cplusplus
extern "C" {
#endif
i have found several userland apps what are needs where changes and I
understand - they are deprocated, but it can helps and reduce additional
patches in userland apps with portability and builds based on illumos env.
If you are agreed - i can file a bug for it.
------------------------------------------
openzfs-developer
Archives:
https://openzfs.topicbox.com/groups/developer/discussions/T0cc9a914d001ea54-Mbc684ec12d0c443add201848
Powered by Topicbox: https://topicbox.com