use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day

This commit is contained in:
mrdudz
2020-07-21 23:59:05 +02:00
parent 6d518a61a5
commit 4a9c5ff63b
8 changed files with 41 additions and 121 deletions

View File

@@ -6,27 +6,14 @@
#include <stdio.h>
#include <limits.h>
#include <stdint.h>
unsigned char success=0;
unsigned char failures=0;
unsigned char dummy=0;
#ifdef SIZEOF_INT_16BIT
#if defined(__LINUX__) || defined(LINUX)
signed short aint0 = 0;
signed short aint1 = 0;
#else
signed int aint0 = 0;
signed int aint1 = 0;
#endif
#else
signed int aint0 = 0;
signed int aint1 = 0;
#endif
int16_t aint0 = 0;
int16_t aint1 = 0;
/*
signed char achar0 = 0;