From 713870636ffa96c10f29020d593069bdee0284ac Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Mon, 20 Dec 2004 08:44:05 +0000 Subject: Fix build on 6-current PR: ports/75265 Submitted by: Ports Fury --- editors/lfhex/files/patch-src::reader.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 editors/lfhex/files/patch-src::reader.hpp (limited to 'editors/lfhex/files') diff --git a/editors/lfhex/files/patch-src::reader.hpp b/editors/lfhex/files/patch-src::reader.hpp new file mode 100644 index 000000000000..04c8e0efa058 --- /dev/null +++ b/editors/lfhex/files/patch-src::reader.hpp @@ -0,0 +1,18 @@ +--- src/reader.hpp.orig Fri Feb 13 13:28:32 2004 ++++ src/reader.hpp Sat Dec 18 01:46:26 2004 +@@ -34,9 +34,13 @@ + #include "local.h" + + #ifdef DEBUG +-#define INLINE ++# define INLINE + #else +-#define INLINE inline ++# if defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ >= 1 ++# define INLINE __attribute__((always_inline)) ++# else ++# define INLINE inline ++# endif + #endif + + typedef vector ReadBuffer; -- cgit v1.2.3