vm: remove some unused #defines
parent
9471fd1a33
commit
0fd3c78157
|
@ -26,18 +26,8 @@ typedef char symbol_char;
|
|||
#define FTELL ftello
|
||||
#define FSEEK fseeko
|
||||
|
||||
#define FIXNUM_FORMAT "%ld"
|
||||
#define CELL_FORMAT "%lu"
|
||||
#define CELL_HEX_FORMAT "%lx"
|
||||
|
||||
#ifdef FACTOR_64
|
||||
#define CELL_HEX_PAD_FORMAT "%016lx"
|
||||
#else
|
||||
#define CELL_HEX_PAD_FORMAT "%08lx"
|
||||
#endif
|
||||
|
||||
#define FIXNUM_FORMAT "%ld"
|
||||
|
||||
#define OPEN_READ(path) fopen(path,"rb")
|
||||
#define OPEN_WRITE(path) fopen(path,"wb")
|
||||
|
||||
|
|
|
@ -23,15 +23,9 @@ typedef wchar_t vm_char;
|
|||
#define FSEEK fseeko64
|
||||
|
||||
#ifdef WIN64
|
||||
#define CELL_FORMAT "%Iu"
|
||||
#define CELL_HEX_FORMAT "%Ix"
|
||||
#define CELL_HEX_PAD_FORMAT "%016Ix"
|
||||
#define FIXNUM_FORMAT "%Id"
|
||||
#else
|
||||
#define CELL_FORMAT "%lu"
|
||||
#define CELL_HEX_FORMAT "%lx"
|
||||
#define CELL_HEX_PAD_FORMAT "%08lx"
|
||||
#define FIXNUM_FORMAT "%ld"
|
||||
#endif
|
||||
|
||||
#define OPEN_READ(path) _wfopen(path,L"rb")
|
||||
|
|
Loading…
Reference in New Issue