summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-11 17:59:22 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-11 17:59:22 (GMT)
commit973e385fa332485f4617cf16406a8c8ef631a555 (patch)
tree396502e3eeef6a56b2f4811912f657b964a52dfd /lib/lz4.c
parentbe9d248851ecd712a8911526b009c5d0c948ee21 (diff)
downloadlz4-973e385fa332485f4617cf16406a8c8ef631a555.zip
lz4-973e385fa332485f4617cf16406a8c8ef631a555.tar.gz
lz4-973e385fa332485f4617cf16406a8c8ef631a555.tar.bz2
Implemented obsolete warning message
Diffstat (limited to 'lib/lz4.c')
-rw-r--r--lib/lz4.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index 6ed6ab3..d6fdcd9 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -63,6 +63,12 @@
/**************************************
+* Includes
+**************************************/
+#include "lz4.h"
+
+
+/**************************************
* Compiler Options
**************************************/
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */
@@ -88,8 +94,6 @@
# endif /* __STDC_VERSION__ */
#endif /* _MSC_VER */
-#define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
-
#if (GCC_VERSION >= 302) || (__INTEL_COMPILER >= 800) || defined(__clang__)
# define expect(expr,value) (__builtin_expect ((expr),(value)) )
#else
@@ -111,12 +115,6 @@
/**************************************
-* Includes
-**************************************/
-#include "lz4.h"
-
-
-/**************************************
* Basic Types
**************************************/
#if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */