Commit 099e9be1 authored by thomas's avatar thomas
Browse files

minor updates

git-svn-id: https://svn.grrrr.org/ext/trunk/flext@3760 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent c642d212
......@@ -141,10 +141,14 @@ bool flext_base::BindMethod(const t_symbol *sym,bool (*fun)(flext_base *,t_symbo
#if FLEXT_SYS == FLEXT_SYS_PD
pd_bind(&px->obj.ob_pd,const_cast<t_symbol *>(sym));
#elif FLEXT_SYS == FLEXT_SYS_MAX
#if 1 // old code
if(!sym->s_thing)
const_cast<t_symbol *>(sym)->s_thing = (t_object *)px;
else
error("%s - Symbol is already bound",thisName());
#else
void *binding = object_register(gensym("flext"),const_cast<t_symbol *>(sym),(t_object *)px);
#endif
#else
# pragma warning("Not implemented")
#endif
......
......@@ -43,13 +43,13 @@
#ifdef __APPLE__
#include <libkern/OSAtomic.h>
#endif
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2))
#include <ext/atomicity.h>
#else
#include <bits/atomicity.h>
#else
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2))
#include <ext/atomicity.h>
#else
#include <bits/atomicity.h>
#endif
#endif
#endif
......
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