summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2011-05-16 02:59:49 +0000
committerRichard Lowe <richlowe@richlowe.net>2011-07-02 22:17:39 -0400
commit06800e794d8540b89b22cafa66a9d735c57d7de9 (patch)
treec4aa9fc17e35d6182d1efa4c040c9b39347bbe81 /usr/src
parenta029bbfc268e60a1d799f34d9226df480fdab019 (diff)
downloadillumos-joyent-06800e794d8540b89b22cafa66a9d735c57d7de9.tar.gz
libparted: Drop workaround for compiler we don't use
GCC would warn of implicit overflow in the preprocessor conditional used to select the workaround.
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libparted/common/lib/regex_internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/src/lib/libparted/common/lib/regex_internal.h b/usr/src/lib/libparted/common/lib/regex_internal.h
index 5c07f9366f..14d043f01b 100644
--- a/usr/src/lib/libparted/common/lib/regex_internal.h
+++ b/usr/src/lib/libparted/common/lib/regex_internal.h
@@ -182,10 +182,6 @@ typedef unsigned long int bitset_word_t;
# if BITSET_WORD_BITS <= SBC_MAX
# error "Invalid SBC_MAX"
# endif
-#elif BITSET_WORD_MAX == (0xffffffff + 2) * 0xffffffff
-/* Work around a bug in 64-bit PGC (before version 6.1-2), where the
- preprocessor mishandles large unsigned values as if they were signed. */
-# define BITSET_WORD_BITS 64
#else
# error "Add case for new bitset_word_t size"
#endif