From 83c8e8e0391e59ba26ad10f105ef949fba281a2d Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 2 Mar 2005 19:27:19 +0000 Subject: shell and library splitted. Now jim.c contains only the language implementation, while the shell is into jimsh.c, that is actually the first example of embedder of Jim. Important changes in jim.h to make Jim play well with extensions/embedders at the same time, and to deal with multiple files. Extensions now must define JIM_EXTENSION before to include jim.h, embedders must define JIM_EMBEDDED before to include jim.h. --- jim-posix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'jim-posix.c') diff --git a/jim-posix.c b/jim-posix.c index 5e942aa..ca230e4 100644 --- a/jim-posix.c +++ b/jim-posix.c @@ -3,6 +3,7 @@ #include #include +#define JIM_EXTENSION #include "jim.h" extern int errno; -- cgit v1.1