*** empty log message ***
This commit is contained in:
parent
01d4ed2351
commit
3d0e1a5cc8
@ -1,11 +1,15 @@
|
||||
/*
|
||||
* $Id: awk.c,v 1.168 2007-02-20 14:09:44 bacon Exp $
|
||||
* $Id: awk.c,v 1.169 2007-02-20 14:15:18 bacon Exp $
|
||||
*/
|
||||
|
||||
#include <ase/awk/awk.h>
|
||||
#include <ase/awk/val.h>
|
||||
#include <ase/awk/map.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ase/utl/ctype.h>
|
||||
#include <ase/utl/stdio.h>
|
||||
#include <ase/utl/main.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
@ -28,10 +32,6 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
#include "../../etc/printf.c"
|
||||
#include "../../etc/main.c"
|
||||
#include "../../etc/ctype.h"
|
||||
|
||||
#if defined(_WIN32) && defined(_MSC_VER) && defined(_DEBUG)
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#include <crtdbg.h>
|
||||
|
@ -10,8 +10,8 @@
|
||||
CC = bcc32
|
||||
LD = ilink32
|
||||
CFLAGS = -O2 -WM -WU -RT- -w -I..\..\..
|
||||
LDFLAGS = -ap -Tpe -Gn -c -L..\..\awk
|
||||
LIBS = import32.lib cw32mt.lib aseawk.lib
|
||||
LDFLAGS = -ap -Tpe -Gn -c -L..\..\awk -L..\..\utl
|
||||
LIBS = import32.lib cw32mt.lib aseawk.lib aseutl.lib
|
||||
STARTUP = c0x32w.obj
|
||||
|
||||
all: aseawk
|
||||
|
@ -11,37 +11,37 @@
|
||||
#if defined(ASE_CHAR_IS_MCHAR)
|
||||
#include <ctype.h>
|
||||
|
||||
#define ase_isupper(x) isupper(x)
|
||||
#define ase_islower(x) islower(x)
|
||||
#define ase_isalpha(x) isalpha(x)
|
||||
#define ase_isdigit(x) isdigit(x)
|
||||
#define ase_isxdigit(x) isxdigit(x)
|
||||
#define ase_isalnum(x) isalnum(x)
|
||||
#define ase_isspace(x) isspace(x)
|
||||
#define ase_isprint(x) isprint(x)
|
||||
#define ase_isgraph(x) isgraph(x)
|
||||
#define ase_iscntrl(x) iscntrl(x)
|
||||
#define ase_ispunct(x) ispunct(x)
|
||||
#define ase_isupper isupper
|
||||
#define ase_islower islower
|
||||
#define ase_isalpha isalpha
|
||||
#define ase_isdigit isdigit
|
||||
#define ase_isxdigit isxdigit
|
||||
#define ase_isalnum isalnum
|
||||
#define ase_isspace isspace
|
||||
#define ase_isprint isprint
|
||||
#define ase_isgraph isgraph
|
||||
#define ase_iscntrl iscntrl
|
||||
#define ase_ispunct ispunct
|
||||
|
||||
#define ase_toupper(x) tolower(x)
|
||||
#define ase_tolower(x) tolower(x)
|
||||
#define ase_toupper tolower
|
||||
#define ase_tolower tolower
|
||||
#else
|
||||
#include <wctype.h>
|
||||
|
||||
#define ase_isupper(x) iswupper(x)
|
||||
#define ase_islower(x) iswlower(x)
|
||||
#define ase_isalpha(x) iswalpha(x)
|
||||
#define ase_isdigit(x) iswdigit(x)
|
||||
#define ase_isxdigit(x) iswxdigit(x)
|
||||
#define ase_isalnum(x) iswalnum(x)
|
||||
#define ase_isspace(x) iswspace(x)
|
||||
#define ase_isprint(x) iswprint(x)
|
||||
#define ase_isgraph(x) iswgraph(x)
|
||||
#define ase_iscntrl(x) iswcntrl(x)
|
||||
#define ase_ispunct(x) iswpunct(x)
|
||||
#define ase_isupper iswupper
|
||||
#define ase_islower iswlower
|
||||
#define ase_isalpha iswalpha
|
||||
#define ase_isdigit iswdigit
|
||||
#define ase_isxdigit iswxdigit
|
||||
#define ase_isalnum iswalnum
|
||||
#define ase_isspace iswspace
|
||||
#define ase_isprint iswprint
|
||||
#define ase_isgraph iswgraph
|
||||
#define ase_iscntrl iswcntrl
|
||||
#define ase_ispunct iswpunct
|
||||
|
||||
#define ase_toupper(x) towlower(x)
|
||||
#define ase_tolower(x) towlower(x)
|
||||
#define ase_toupper towlower
|
||||
#define ase_tolower towlower
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,10 +1,10 @@
|
||||
/*
|
||||
* $Id: main.c,v 1.10 2007-02-20 14:04:21 bacon Exp $
|
||||
* $Id: main.c,v 1.11 2007-02-20 14:15:18 bacon Exp $
|
||||
*
|
||||
* {License}
|
||||
*/
|
||||
|
||||
#include <ase/etc/main.h>
|
||||
#include <ase/utl/main.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
OUT = aseetc
|
||||
OUT = aseutl
|
||||
|
||||
C_SRCS = main.c stdio.c
|
||||
C_OBJS = $(C_SRCS:.c=.obj)
|
||||
|
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* $Id: stdio.c,v 1.1 2007-02-20 14:04:22 bacon Exp $
|
||||
* $Id: stdio.c,v 1.2 2007-02-20 14:15:18 bacon Exp $
|
||||
*
|
||||
* {License}
|
||||
*/
|
||||
|
||||
#include <ase/etc/stdio.h>
|
||||
#include <ase/etc/ctype.h>
|
||||
#include <ase/utl/stdio.h>
|
||||
#include <ase/utl/ctype.h>
|
||||
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user