*** empty log message ***
This commit is contained in:
parent
047166e58f
commit
cfb7367faf
12
ase/macros.h
12
ase/macros.h
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: macros.h,v 1.7 2005-01-21 06:02:02 bacon Exp $
|
* $Id: macros.h,v 1.8 2005-02-05 06:05:19 bacon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _XP_MACROS_H_
|
#ifndef _XP_MACROS_H_
|
||||||
@ -38,12 +38,12 @@
|
|||||||
#define XP_WCHAR(ch) ((xp_wchar_t)L##ch)
|
#define XP_WCHAR(ch) ((xp_wchar_t)L##ch)
|
||||||
#define XP_WTEXT(txt) ((const xp_wchar_t*)L##txt)
|
#define XP_WTEXT(txt) ((const xp_wchar_t*)L##txt)
|
||||||
|
|
||||||
#ifdef XP_CHAR_IS_MCHAR
|
#if defined(XP_CHAR_IS_MCHAR)
|
||||||
#define XP_CHAR(ch) XP_MCHAR(ch)
|
#define XP_CHAR(ch) XP_MCHAR(ch)
|
||||||
#define XP_TEXT(txt) XP_MTEXT(txt)
|
#define XP_TEXT(txt) XP_MTEXT(txt)
|
||||||
#else
|
#else
|
||||||
#define XP_CHAR(ch) XP_WCHAR(ch)
|
#define XP_CHAR(ch) XP_WCHAR(ch)
|
||||||
#define XP_TEXT(txt) XP_WTEXT(txt)
|
#define XP_TEXT(txt) XP_WTEXT(txt)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -10,9 +10,9 @@ static int get_char (xp_lisp_cint* ch, void* arg)
|
|||||||
{
|
{
|
||||||
xp_lisp_cint c;
|
xp_lisp_cint c;
|
||||||
|
|
||||||
c = fgetc(stdin);
|
c = xp_fgetc(stdin);
|
||||||
if (c == XP_EOF) {
|
if (c == XP_EOF) {
|
||||||
if (ferror(stdin)) return -1;
|
if (xp_ferror(stdin)) return -1;
|
||||||
c = XP_EOF;
|
c = XP_EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user