pkgsrc/archivers/hpack/patches/patch-aa

23 lines
800 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.1.1.1 1999/05/23 22:41:21 tv Exp $
--- defs.h.orig Sun May 23 17:31:43 1999
+++ defs.h Sun May 23 17:26:19 1999
@@ -20,7 +20,7 @@
typedef unsigned char BYTE;
typedef unsigned short int WORD; /* 16-bit unsigned on most systems */
#ifndef _OS2EMX_H
-typedef unsigned long int LONG; /* 32-bit unsigned on most systems */
+typedef unsigned int LONG; /* 32-bit unsigned on most systems */
#endif /* _OS2EMX.H */
typedef int BOOLEAN;
@@ -43,7 +43,7 @@
/* 'inline' patch for compilers which can't handle this */
-#if !( defined( __CPLUSPLUS__ ) || defined( __cplusplus ) ) || defined( __TSC__ )
+#if !( defined( __GNUC__ ) || defined( __CPLUSPLUS__ ) || defined( __cplusplus ) ) || defined( __TSC__ )
#define inline
#endif /* !( __CPLUSPLUS__ || __cplusplus ) */