diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2016-12-22 10:58:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 10:58:29 (GMT) |
commit | b41f9bb132e8207999e89d01925e202da98b7649 (patch) | |
tree | 4632c6d377ee39fe9bc5011191824360fe7b3990 /tests/datagencli.c | |
parent | 7eb16d97d238e2b98f1e6453ed6ad64058cb99c1 (diff) | |
parent | fea95c156761ee10d32a4f12105ebd90c67d4f47 (diff) | |
download | lz4-b41f9bb132e8207999e89d01925e202da98b7649.zip lz4-b41f9bb132e8207999e89d01925e202da98b7649.tar.gz lz4-b41f9bb132e8207999e89d01925e202da98b7649.tar.bz2 |
Merge pull request #292 from inikep/dev
improved POSIX
Diffstat (limited to 'tests/datagencli.c')
-rw-r--r-- | tests/datagencli.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/tests/datagencli.c b/tests/datagencli.c index 0b78d37..c985197 100644 --- a/tests/datagencli.c +++ b/tests/datagencli.c @@ -27,31 +27,13 @@ /************************************** * Includes **************************************/ +#include "util.h" /* U32 */ #include <stdio.h> /* fprintf, stderr */ #include "datagen.h" /* RDG_generate */ #include "lz4.h" /* LZ4_VERSION_STRING */ /************************************** -* 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) |