added type REAL (float on 32bit, double on 64bit)

This commit is contained in:
Pavol Marko 2004-04-22 08:14:33 +00:00
parent 21287f4f3a
commit 72aeebfeb7

View File

@ -21,7 +21,8 @@
* Version: $Id$
*/
#define LINUX
// JIT used
//#define JIT
#if defined __linux__
#include <sclinux.h>
#endif
@ -120,6 +121,14 @@ extern "C" {
#error Unsupported cell size (SMALL_CELL_SIZE)
#endif
#if SMALL_CELL_SIZE==32
#define REAL float
#elif SMALL_CELL_SIZE==64
#define REAL double
#else
#error Unsupported cell size
#endif
#define UNPACKEDMAX ((1 << (sizeof(cell)-1)*8) - 1)
struct tagAMX;