diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-28 20:53:10 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-28 20:53:10 +0000 |
commit | c1ca9e1cdab9279cdda720aac3a31870e02a7302 (patch) | |
tree | d5b561c1cae19e3ac96b6dd2348fc677218f30e6 /source/SMLib.c | |
parent | da1f0065d07250b86b9a761b012987e4825f491f (diff) |
fixed up files to compile on Darwin and fit into the standards
svn path=/trunk/externals/smlib/; revision=4071
Diffstat (limited to 'source/SMLib.c')
-rw-r--r-- | source/SMLib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/SMLib.c b/source/SMLib.c index 1771395..baf4c8a 100644 --- a/source/SMLib.c +++ b/source/SMLib.c @@ -167,7 +167,11 @@ static void *SMLib_new() return (void *)x;
}
+#ifdef WIN32
__declspec(dllexport) void __cdecl SMLib_setup( void)
+#else
+void SMLib_setup( void)
+#endif
{
// dummy object for help-system
SMLib_class = class_new(gensym("SMLib"),
|