*** empty log message ***
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: awk.c,v 1.22 2006-04-14 16:26:00 bacon Exp $
|
||||
* $Id: awk.c,v 1.23 2006-04-16 04:31:38 bacon Exp $
|
||||
*/
|
||||
|
||||
#include <xp/awk/awk.h>
|
||||
@ -7,19 +7,30 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __STAND_ALONE
|
||||
#define xp_printf xp_awk_printf
|
||||
extern int xp_awk_printf (const xp_char_t* fmt, ...);
|
||||
#else
|
||||
#ifdef XP_CHAR_IS_MCHAR
|
||||
#define xp_printf printf
|
||||
#else
|
||||
#define xp_printf wprintf
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __STAND_ALONE
|
||||
#define xp_strcmp xp_awk_strcmp
|
||||
extern int xp_awk_strcmp (const xp_char_t* s1, const xp_char_t* s2);
|
||||
#else
|
||||
#ifdef XP_CHAR_IS_MCHAR
|
||||
#define xp_strcmp strcmp
|
||||
#else
|
||||
#define xp_strcmp wcscmp
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static xp_ssize_t process_source (int cmd, void* arg, xp_char_t* data, xp_size_t size)
|
||||
static xp_ssize_t process_source (
|
||||
int cmd, void* arg, xp_char_t* data, xp_size_t size)
|
||||
{
|
||||
xp_char_t c;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
CC = bcc32
|
||||
CFLAGS = -I..\..\..
|
||||
CFLAGS = -I..\..\.. -D__STAND_ALONE
|
||||
LDFLAGS = -L..\..\..\xp\bas -L..\..\..\xp\awk
|
||||
LIBS = import32.lib cw32mt.lib xpbas.lib xpawk.lib
|
||||
STARTUP = c0x32w.obj
|
||||
|
@ -1,6 +1,6 @@
|
||||
CC = cl
|
||||
#CFLAGS = /nologo /MT /W3 /GR- /D_WIN32_WINNT=0x0400 -I..\..\..
|
||||
CFLAGS = /nologo /MT /W3 /GR- /D_WIN32_WINNT=0x0400 -I..\..\..
|
||||
CFLAGS = /nologo /MT /W3 /GR- /D_WIN32_WINNT=0x0400 -I..\..\.. -D__STAND_ALONE
|
||||
LDFLAGS = /libpath:..\..\bas /libpath:..\..\awk
|
||||
LIBS = xpbas.lib xpawk.lib
|
||||
#LIBS = xpawk.lib
|
||||
|
@ -1,5 +1,5 @@
|
||||
CC = cc
|
||||
CFLAGS = -Xc -a ansi -O2 -I../../..
|
||||
CFLAGS = -Xc -a ansi -O2 -I../../.. -D__STAND_ALONE
|
||||
LDFLAGS = -L../../bas -L../../awk
|
||||
LIBS = -lxpawk -lm
|
||||
|
||||
|
Reference in New Issue
Block a user