diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-12-20 08:44:05 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-12-20 08:44:05 +0000 |
commit | 713870636ffa96c10f29020d593069bdee0284ac (patch) | |
tree | f9a65ce321fc2e76a39807ec370ce519fa0b71ad /editors/lfhex/files | |
parent | 25039966902b620c8a6d7f5076dce59a53273d7a (diff) |
Fix build on 6-current
PR: ports/75265
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=124562
Diffstat (limited to 'editors/lfhex/files')
-rw-r--r-- | editors/lfhex/files/patch-src::reader.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
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<uchar> ReadBuffer; |