Commit 099b7b4c authored by Thomas Grill's avatar Thomas Grill
Browse files

Enable compilation in 64 bits

parent 9bb7a9a2
......@@ -334,7 +334,10 @@ FLEXT_TEMPIMPL(void FLEXT_CLASSDEF(flext))::buffer::Dirty(bool force)
#elif FLEXT_SYS == FLEXT_SYS_MAX
t_buffer *p = (t_buffer *)sym->s_thing;
FLEXT_ASSERT(p && !NOGOOD(p));
::object_method((t_object *)p,(t_symbol *)sym_dirty);
// object_method function is redirected to object_method_imp on 64-bit Max
// which in turn doesn't exist. Use object_method_typed instead.
t_atom rv;
object_method_typed((t_object *)p,(t_symbol *)sym_dirty,0,NULL,&rv);
// p->b_modtime = gettime();
#else
#error Not implemented
......
......@@ -350,7 +350,8 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#if FLEXT_SYS == FLEXT_SYS_MAX
// #pragma message("Compiling for Max/MSP")
#ifndef MSP64
#if defined __LP64__
#if FLEXT_CPU == FLEXT_CPU_X86_64
#define C74_X64 1
#define MSP64 1
#else
#define MSP64 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment