Create and use sicsglobal.h and add isDuringInitialization
This commit is contained in:
2
macro.c
2
macro.c
@@ -68,6 +68,7 @@
|
||||
#include "ifile.h"
|
||||
#include "Dbg.h"
|
||||
#include "servlog.h"
|
||||
#include "sicsglobal.h"
|
||||
#include "stringdict.h"
|
||||
#include "exeman.h"
|
||||
#include "nxcopy.h"
|
||||
@@ -323,7 +324,6 @@ Tcl_Interp *MacroInit(SicsInterp * pSics)
|
||||
assert(pSics);
|
||||
|
||||
/* create interpreter and unknown */
|
||||
extern const char *argv0;
|
||||
Tcl_FindExecutable(argv0);
|
||||
pInter = Tcl_CreateInterp();
|
||||
pUnknown = (struct __SicsUnknown *) malloc(sizeof(struct __SicsUnknown));
|
||||
|
||||
Reference in New Issue
Block a user