summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/include/_limits.h3
-rw-r--r--sys/powerpc/include/limits.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/include/_limits.h b/sys/powerpc/include/_limits.h
index 13ea139..1b06efd 100644
--- a/sys/powerpc/include/_limits.h
+++ b/sys/powerpc/include/_limits.h
@@ -99,6 +99,9 @@
#define UQUAD_MAX ULLONG_MAX /* max value for a uquad_t */
#define QUAD_MAX LLONG_MAX /* max value for a quad_t */
#define QUAD_MIN LLONG_MIN /* min value for a quad_t */
+
+#define LONG_BIT 32
+
#endif /* !_POSIX_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h
index 13ea139..1b06efd 100644
--- a/sys/powerpc/include/limits.h
+++ b/sys/powerpc/include/limits.h
@@ -99,6 +99,9 @@
#define UQUAD_MAX ULLONG_MAX /* max value for a uquad_t */
#define QUAD_MAX LLONG_MAX /* max value for a quad_t */
#define QUAD_MIN LLONG_MIN /* min value for a quad_t */
+
+#define LONG_BIT 32
+
#endif /* !_POSIX_SOURCE */
#endif /* !_ANSI_SOURCE */
OpenPOWER on IntegriCloud