diff options
author | 2009-11-07 23:09:35 +0000 | |
---|---|---|
committer | 2009-11-07 23:09:35 +0000 | |
commit | 356227b03f545fc059a9e26c1774c212b6235643 (patch) | |
tree | bac1b5bf579919ef8132280c15297952ac3d32d3 /lib/libc | |
parent | According to Brad, bnx(4) is not endian-safe, so remove it from sgi kernels. (diff) | |
download | wireguard-openbsd-356227b03f545fc059a9e26c1774c212b6235643.tar.xz wireguard-openbsd-356227b03f545fc059a9e26c1774c212b6235643.zip |
remove gcc 1 workaround we no longer care about which
was breaking non GNUC defining compilers.
Came up during a conversation with ragge@, positive
comments from several.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/quad/quad.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libc/quad/quad.h b/lib/libc/quad/quad.h index 778b5ccb465..168a1264ac6 100644 --- a/lib/libc/quad/quad.h +++ b/lib/libc/quad/quad.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: quad.h,v 1.6 2004/11/28 07:09:13 mickey Exp $ + * $OpenBSD: quad.h,v 1.7 2009/11/07 23:09:35 jsg Exp $ */ /* @@ -95,17 +95,7 @@ union uu { #define LHALF(x) ((u_int)(x) & (((int)1 << HALF_BITS) - 1)) #define LHUP(x) ((u_int)(x) << HALF_BITS) -/* - * XXX - * Compensate for gcc 1 vs gcc 2. Gcc 1 defines ?sh?di3's second argument - * as u_quad_t, while gcc 2 correctly uses int. Unfortunately, we still use - * both compilers. - */ -#if __GNUC_PREREQ__(2, 0) || defined(lint) typedef unsigned int qshift_t; -#else -typedef u_quad_t qshift_t; -#endif quad_t __adddi3(quad_t, quad_t); quad_t __anddi3(quad_t, quad_t); |