From a9635f0ee09bf2ae4dbf5b2b97ee9b568f0017f5 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 25 Jul 2011 08:42:23 +0000 Subject: [PATCH] fixed a minor issue for OS/2 --- qse/lib/awk/std.c | 3 ++- qse/lib/stx/stx.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qse/lib/awk/std.c b/qse/lib/awk/std.c index 11065f17..67757636 100644 --- a/qse/lib/awk/std.c +++ b/qse/lib/awk/std.c @@ -1,5 +1,5 @@ /* - * $Id: std.c 518 2011-07-24 14:24:13Z hyunghwan.chung $ + * $Id: std.c 519 2011-07-24 14:42:23Z hyunghwan.chung $ * Copyright 2006-2011 Chung, Hyung-Hwan. This file is part of QSE. @@ -39,6 +39,7 @@ #ifndef QSE_HAVE_CONFIG_H # if defined(_WIN32) || defined(__OS2__) || defined(__DOS__) # define HAVE_POW +# define HAVE_FMOD # define HAVE_SIN # define HAVE_COS # define HAVE_TAN diff --git a/qse/lib/stx/stx.h b/qse/lib/stx/stx.h index 79d12a75..f4731238 100644 --- a/qse/lib/stx/stx.h +++ b/qse/lib/stx/stx.h @@ -48,7 +48,7 @@ word fixed qse_word_t _mark: 1; qse_word_t _type: 2; qse_word_t _variable: 1; - qse_word_t _refcnt: (QSE_SIZEOF_WORD_T-4); + qse_word_t _refcnt: ((QSE_SIZEOF_WORD_T*8)-4); qse_word_t _size; qse_word_t _class;