diff options
author | Georg Holzmann <grholzi@users.sourceforge.net> | 2007-01-11 13:46:49 +0000 |
---|---|---|
committer | Georg Holzmann <grholzi@users.sourceforge.net> | 2007-01-11 13:46:49 +0000 |
commit | 5e3eed4d039115e88001f45b0ff2ec3189ac718d (patch) | |
tree | f881421ed0ce8a518ace97d80f40ce9ecade2d03 | |
parent | 9d114a296c3b26dba4aa0bcea83f16dd1976a8b3 (diff) |
define to make single object library possible
svn path=/trunk/externals/iem/iemgui/; revision=7287
-rw-r--r-- | src/iemgui.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/iemgui.c b/src/iemgui.c index 48008b9..2bdaf98 100644 --- a/src/iemgui.c +++ b/src/iemgui.c @@ -63,6 +63,13 @@ void my_iemgui_change_scale_col(char *gif, int color) gif[27] = my_iemgui_base64[i]; } + +// Georg Holzmann: +#ifdef IEMGUI_SINGLE_OBJ +// for single externals disable the iemgui object +#else +// build as library + static t_class *iemgui_class; static void *iemgui_new(void) @@ -111,3 +118,5 @@ void iemgui_setup(void) post("iemgui (R-1.17) library loaded! (c) Thomas Musil 11.2006"); post(" musil%ciem.at iem KUG Graz Austria", '@'); } + +#endif // library |