summaryrefslogtreecommitdiff
blob: c03754e884af14c9d1f581bd074f086e9cb7bdb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -ur lfhex-0.3.7.old/src/reader.hpp lfhex-0.3.7.new/src/reader.hpp
--- lfhex-0.3.7.old/src/reader.hpp	2004-02-12 23:28:32.000000000 -0500
+++ lfhex-0.3.7.new/src/reader.hpp	2004-07-22 18:06:55.038879120 -0400
@@ -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;