From 7977905fa638fed4026292a3b78e4a4fc63280b4 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 7 Jan 2010 21:33:19 +1300 Subject: [PATCH] vm: remove some unused #defines --- vm/os-unix.hpp | 10 ---------- vm/os-windows.hpp | 6 ------ 2 files changed, 16 deletions(-) diff --git a/vm/os-unix.hpp b/vm/os-unix.hpp index fa9bc71417..bb784bc93c 100644 --- a/vm/os-unix.hpp +++ b/vm/os-unix.hpp @@ -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") diff --git a/vm/os-windows.hpp b/vm/os-windows.hpp index eeac2a42dd..a7c69571d9 100644 --- a/vm/os-windows.hpp +++ b/vm/os-windows.hpp @@ -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")