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/xsample/source/play.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'externals/grill/xsample/source/play.cpp') diff --git a/externals/grill/xsample/source/play.cpp b/externals/grill/xsample/source/play.cpp index 6a84548f..3b934ecb 100644 --- a/externals/grill/xsample/source/play.cpp +++ b/externals/grill/xsample/source/play.cpp @@ -26,7 +26,7 @@ public: virtual BL Init(); -#ifdef MAXMSP +#if FLEXT_SYS == FLEXT_SYS_MAX virtual V m_assist(L msg,L arg,C *s); #endif @@ -57,7 +57,7 @@ V xplay::setup(t_class *) xplay::xplay(I argc,const t_atom *argv) { I argi = 0; -#ifdef MAXMSP +#if FLEXT_SYS == FLEXT_SYS_MAX if(argc > argi && CanbeInt(argv[argi])) { outchns = GetAInt(argv[argi]); argi++; @@ -68,7 +68,7 @@ xplay::xplay(I argc,const t_atom *argv) buf = new buffer(GetSymbol(argv[argi]),true); argi++; -#ifdef MAXMSP +#if FLEXT_SYS == FLEXT_SYS_MAX // oldstyle command line? if(argi == 1 && argc == 2 && CanbeInt(argv[argi])) { outchns = GetAInt(argv[argi]); @@ -101,11 +101,11 @@ BL xplay::Init() V xplay::m_help() { post("%s - part of xsample objects, version " XSAMPLE_VERSION,thisName()); -#ifdef _DEBUG +#ifdef FLEXT_DEBUG post("compiled on " __DATE__ " " __TIME__); #endif post("(C) Thomas Grill, 2001-2002"); -#ifdef MAXMSP +#if FLEXT_SYS == FLEXT_SYS_MAX post("Arguments: %s [channels=1] [buffer]",thisName()); #else post("Arguments: %s [buffer]",thisName()); @@ -137,7 +137,7 @@ V xplay::m_print() } -#ifdef MAXMSP +#if FLEXT_SYS == FLEXT_SYS_MAX V xplay::m_assist(L msg,L arg,C *s) { switch(msg) { -- cgit v1.2.1