From 0112dbebebb521254d2935fb4980a16bce97d32f Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 11 Aug 2004 04:04:25 +0000 Subject: "" svn path=/trunk/; revision=1937 --- externals/grill/flext/source/flbase.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/flbase.cpp') diff --git a/externals/grill/flext/source/flbase.cpp b/externals/grill/flext/source/flbase.cpp index 04bad89f..12e13fdf 100644 --- a/externals/grill/flext/source/flbase.cpp +++ b/externals/grill/flext/source/flbase.cpp @@ -2,7 +2,7 @@ flext - C++ layer for Max/MSP and pd (pure data) externals -Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -135,7 +135,12 @@ bool flext_obj::GetParamSym(t_atom &dst,const t_symbol *sym,t_canvas *c) #if FLEXT_SYS == FLEXT_SYS_PD // this declaration is missing in m_pd.h (0.37-0 and -1) -extern "C" void canvas_getargs(int *argcp, t_atom **argvp); +// but it is there in 0.37-2 (but how to tell which micro-version?) +extern "C" +#ifdef _MSC_VER +__declspec(dllimport) +#endif +void canvas_getargs(int *argcp, t_atom **argvp); #endif -- cgit v1.2.1