summaryrefslogtreecommitdiffstats
path: root/src/base/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/cmd')
-rw-r--r--src/base/cmd/cmd.c1
-rw-r--r--src/base/cmd/cmd.h8
2 files changed, 5 insertions, 4 deletions
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
////////////////////////////////////////////////////////////////////////