aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flutil.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-11-25 22:27:34 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-11-25 22:27:34 +0000
commita55a5773570e56a1fb59887f1215f3d05a055700 (patch)
tree507e32ac5b202cb99366bc416d74fff105aa6711 /externals/grill/flext/source/flutil.cpp
parent286c5cf7f627308f56b94289a8a05ed653923c07 (diff)
""
svn path=/trunk/; revision=243
Diffstat (limited to 'externals/grill/flext/source/flutil.cpp')
-rw-r--r--externals/grill/flext/source/flutil.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/externals/grill/flext/source/flutil.cpp b/externals/grill/flext/source/flutil.cpp
index 509c3ab4..284ce35c 100644
--- a/externals/grill/flext/source/flutil.cpp
+++ b/externals/grill/flext/source/flutil.cpp
@@ -28,8 +28,6 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#include <unistd.h>
#endif
-//namespace flext {
-
t_atom *flext::CopyList(int argc,const t_atom *argv)
{
int i;
@@ -51,7 +49,7 @@ void flext::Sleep(float s)
{
#ifdef NT
::Sleep((long)(s*1000));
-#elif defined MAXMSP
+#elif defined(MAXMSP)
UnsignedWide tick;
Microseconds(&tick);
double target = tick.hi*((double)(1L<<((sizeof tick.lo)*4))*(double)(1L<<((sizeof tick.lo)*4)))+tick.lo+s*1.e6;
@@ -64,5 +62,3 @@ void flext::Sleep(float s)
usleep((long)(s*1000000));
#endif
}
-
-//} // namespace flext