summaryrefslogtreecommitdiffstats
path: root/tests/datagencli.c
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2016-12-22 10:58:29 (GMT)
committerGitHub <noreply@github.com>2016-12-22 10:58:29 (GMT)
commitb41f9bb132e8207999e89d01925e202da98b7649 (patch)
tree4632c6d377ee39fe9bc5011191824360fe7b3990 /tests/datagencli.c
parent7eb16d97d238e2b98f1e6453ed6ad64058cb99c1 (diff)
parentfea95c156761ee10d32a4f12105ebd90c67d4f47 (diff)
downloadlz4-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.c20
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)