summaryrefslogtreecommitdiffstats
path: root/programs/util.h
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-12-21 08:44:59 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-12-21 08:44:59 (GMT)
commit9546ba62d01a9618aab91eafe77929120653d275 (patch)
tree7f6d9fb37fe6db0212ce4390e21c59ad608e5393 /programs/util.h
parent452cc970d6b35601a2501dab47050592c97bc4ed (diff)
downloadlz4-9546ba62d01a9618aab91eafe77929120653d275.zip
lz4-9546ba62d01a9618aab91eafe77929120653d275.tar.gz
lz4-9546ba62d01a9618aab91eafe77929120653d275.tar.bz2
executables use basic types from util.h
Diffstat (limited to 'programs/util.h')
-rw-r--r--programs/util.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/programs/util.h b/programs/util.h
index b0529b0..409f6d7 100644
--- a/programs/util.h
+++ b/programs/util.h
@@ -15,10 +15,6 @@
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
- You can contact the author at :
- - LZ4 source repository : https://github.com/lz4/lz4
- - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
*/
#ifndef UTIL_H_MODULE
@@ -88,7 +84,9 @@ extern "C" {
/*-**************************************************************
* Basic Types
*****************************************************************/
-#if !defined (__VMS) && (defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
+#ifndef BASIC_TYPES_DEFINED
+#define BASIC_TYPES_DEFINED
+#if !defined (__VMS) && (defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
# include <stdint.h>
typedef uint8_t BYTE;
typedef uint16_t U16;
@@ -105,7 +103,8 @@ extern "C" {
typedef signed int S32;
typedef unsigned long long U64;
typedef signed long long S64;
-#endif
+#endif
+#endif
/*-****************************************