summaryrefslogtreecommitdiff
path: root/main/lzo/minilzo/minilzo.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/lzo/minilzo/minilzo.h')
-rw-r--r--main/lzo/minilzo/minilzo.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/main/lzo/minilzo/minilzo.h b/main/lzo/minilzo/minilzo.h
index fd2fb321..e5adc6ed 100644
--- a/main/lzo/minilzo/minilzo.h
+++ b/main/lzo/minilzo/minilzo.h
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
@@ -32,15 +32,25 @@
*/
-#ifndef __MINILZO_H
-#define __MINILZO_H 1
+#ifndef __MINILZO_H_INCLUDED
+#define __MINILZO_H_INCLUDED 1
-#define MINILZO_VERSION 0x2070
+#define MINILZO_VERSION 0x2090
-#ifdef __LZOCONF_H
+#if defined(__LZOCONF_H_INCLUDED)
# error "you cannot use both LZO and miniLZO"
#endif
+/* internal Autoconf configuration file - only used when building miniLZO */
+#ifdef MINILZO_HAVE_CONFIG_H
+# include <config.h>
+#endif
+#include <limits.h>
+#include <stddef.h>
+
+#ifndef __LZODEFS_H_INCLUDED
+#include "lzodefs.h"
+#endif
#undef LZO_HAVE_CONFIG_H
#include "lzoconf.h"
@@ -92,3 +102,5 @@ lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len,
#endif /* already included */
+
+/* vim:set ts=4 sw=4 et: */