From f936cc0680c98ffe51b3a1716c996072d5dbf76c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 18 Jan 2009 08:01:00 -0800 Subject: Version abc90118 --- src/base/cmd/cmd.c | 1 + src/base/cmd/cmd.h | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/base/cmd') diff --git a/src/base/cmd/cmd.c b/src/base/cmd/cmd.c index 4e0a4c95..459d82c9 100644 --- a/src/base/cmd/cmd.c +++ b/src/base/cmd/cmd.c @@ -662,6 +662,7 @@ int CmdCommandSource( Abc_Frame_t * pAbc, int argc, char **argv ) } } + fflush( pAbc->Out ); status = Cmd_CommandExecute( pAbc, line ); } while ( status == 0 ); diff --git a/src/base/cmd/cmd.h b/src/base/cmd/cmd.h index 9d0b8703..143f57cd 100644 --- a/src/base/cmd/cmd.h +++ b/src/base/cmd/cmd.h @@ -41,14 +41,14 @@ typedef struct MvCommand Abc_Command; // one command typedef struct MvAlias Abc_Alias; // one alias #ifdef WIN32 -#define DLLEXPORT __declspec(dllexport) -#define DLLIMPORT __declspec(dllimport) +#define ABC_DLLEXPORT __declspec(dllexport) +#define ABC_DLLIMPORT __declspec(dllimport) #else /* defined(WIN32) */ -#define DLLIMPORT +#define ABC_DLLIMPORT #endif /* defined(WIN32) */ #ifndef ABC_DLL -#define ABC_DLL DLLIMPORT +#define ABC_DLL ABC_DLLIMPORT #endif //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3