duplicated type definitions when using CMAKE

This commit is contained in:
Rodrigo Mosconi 2014-07-02 23:24:35 -03:00
parent 3a16b0b108
commit 4ae4896978

View File

@ -9,11 +9,13 @@
#define FOR(i,n) for (i = 0;i < n;++i)
#define sv static void
#ifndef TWEETNACL_BASE_H
typedef unsigned char u8;
typedef unsigned long u32;
typedef unsigned long long u64;
typedef long long i64;
typedef i64 gf[16];
#endif
extern void randombytes(u8 *,u64);
static const u8