aboutsummaryrefslogtreecommitdiff
path: root/desiredata
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-17 01:04:48 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-17 01:04:48 +0000
commitf501285c07d110f8ca587c1ebc048a3115b2fe87 (patch)
tree5a4dc92e680073d0474376c237e9d5ee821c47c4 /desiredata
parentd2dcbdfe87ee6f0625ab5a2e9a6a3f7f8b0ac3ca (diff)
fix warning in d_soundfile.c
svn path=/trunk/; revision=11412
Diffstat (limited to 'desiredata')
-rw-r--r--desiredata/src/m_pd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desiredata/src/m_pd.h b/desiredata/src/m_pd.h
index ff502122..475cfe0d 100644
--- a/desiredata/src/m_pd.h
+++ b/desiredata/src/m_pd.h
@@ -114,7 +114,7 @@ extern "C" {
#pragma warning( disable : 4101 ) /* unused automatic variables */
#endif /* _MSC_VER */
- /* the external storage class is "extern" in GCC; in MS-C it's ugly. */
+/* the external storage class is "extern" on Linux and OSX; on Win32 it's ugly like this: */
#if defined(MSW) && !defined (__GNUC__)
#ifdef PD_INTERNAL
#define EXTERN __declspec(dllexport) extern
@@ -602,7 +602,7 @@ EXTERN void class_setdrawcommand(t_class *c);
EXTERN int class_isdrawcommand(t_class *c);
EXTERN void class_domainsignalin(t_class *c, int onset);
#define CLASS_MAINSIGNALIN(c, type, field) \
- class_domainsignalin(c, (char *)(&((type *)0)->field) - (char *)0)
+ class_domainsignalin(c, (char *)(&((type *)0xdead0000)->field) - (char *)0xdead0000)
/* in "class" observer: observable calls this to notify of a change */
typedef void (*t_notice)( t_gobj *x, t_gobj *origin, int argc, t_atom *argv);