aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/attr2
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-12-05 05:36:32 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-12-05 05:36:32 +0000
commit60ee6bb60b11bbfbccf56f335c9c6213e6daa79d (patch)
tree99b0c72c60aeba5d1a0489aae9edd16f371d965c /externals/grill/flext/tutorial/attr2
parentbbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff)
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/flext/tutorial/attr2')
-rw-r--r--externals/grill/flext/tutorial/attr2/attr2.dsp2
-rw-r--r--externals/grill/flext/tutorial/attr2/main.cpp8
2 files changed, 5 insertions, 5 deletions
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 <flext.h>
// 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 <math.h>
@@ -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
}