From 60ee6bb60b11bbfbccf56f335c9c6213e6daa79d Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 5 Dec 2002 05:36:32 +0000 Subject: "" svn path=/trunk/; revision=278 --- externals/grill/flext/tutorial/attr2/attr2.dsp | 2 +- externals/grill/flext/tutorial/attr2/main.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'externals/grill/flext/tutorial/attr2') diff --git a/externals/grill/flext/tutorial/attr2/attr2.dsp b/externals/grill/flext/tutorial/attr2/attr2.dsp index f93781ba..d95a55ab 100644 --- a/externals/grill/flext/tutorial/attr2/attr2.dsp +++ b/externals/grill/flext/tutorial/attr2/attr2.dsp @@ -53,7 +53,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../msvc/attr2.dll" /libpath:"..\..\pd-msvc" +# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/attr2.dll" /libpath:"..\..\pd-msvc" !ELSEIF "$(CFG)" == "attr2 - Win32 Debug" diff --git a/externals/grill/flext/tutorial/attr2/main.cpp b/externals/grill/flext/tutorial/attr2/main.cpp index f02a6014..b1536117 100644 --- a/externals/grill/flext/tutorial/attr2/main.cpp +++ b/externals/grill/flext/tutorial/attr2/main.cpp @@ -21,8 +21,8 @@ This is an example of an object doing various float operations #include // check for appropriate flext version -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 400) -#error You need at least flext version 0.4.0 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401) +#error You need at least flext version 0.4.1 #endif #include @@ -137,7 +137,7 @@ void attr2::m_trigger(float f) } break; case op_pow: res = (float)pow(f,arg); break; -#ifdef _DEBUG +#ifdef FLEXT_DEBUG default: ERRINTERNAL(); // operation not defined #endif } @@ -158,7 +158,7 @@ void attr2::opget(const t_symbol *&s) const case op_mul: s = sym_mul; break; case op_div: s = sym_div; break; case op_pow: s = sym_pow; break; -#ifdef _DEBUG +#ifdef FLEXT_DEBUG default: ERRINTERNAL(); // operation not defined #endif } -- cgit v1.2.1