diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-21 08:44:59 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-21 08:44:59 (GMT) |
commit | 9546ba62d01a9618aab91eafe77929120653d275 (patch) | |
tree | 7f6d9fb37fe6db0212ce4390e21c59ad608e5393 /programs/datagen.c | |
parent | 452cc970d6b35601a2501dab47050592c97bc4ed (diff) | |
download | lz4-9546ba62d01a9618aab91eafe77929120653d275.zip lz4-9546ba62d01a9618aab91eafe77929120653d275.tar.gz lz4-9546ba62d01a9618aab91eafe77929120653d275.tar.bz2 |
executables use basic types from util.h
Diffstat (limited to 'programs/datagen.c')
-rw-r--r-- | programs/datagen.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/programs/datagen.c b/programs/datagen.c index f44e310..a61afc0 100644 --- a/programs/datagen.c +++ b/programs/datagen.c @@ -27,31 +27,13 @@ * Includes **************************************/ #include "platform.h" /* Compiler options, SET_BINARY_MODE */ +#include "util.h" /* U32 */ #include <stdlib.h> /* malloc */ #include <stdio.h> /* FILE, fwrite */ #include <string.h> /* memcpy */ /************************************** -* Basic Types -**************************************/ -#if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */ -# include <stdint.h> - typedef uint8_t BYTE; - typedef uint16_t U16; - typedef uint32_t U32; - typedef int32_t S32; - typedef uint64_t U64; -#else - typedef unsigned char BYTE; - typedef unsigned short U16; - typedef unsigned int U32; - typedef signed int S32; - typedef unsigned long long U64; -#endif - - -/************************************** * Constants **************************************/ #define KB *(1 <<10) |