summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/src/m_pd.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/m_pd.h')
-rw-r--r--apps/plugins/pdbox/PDa/src/m_pd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/m_pd.h b/apps/plugins/pdbox/PDa/src/m_pd.h
index 9f60baa293..efd5cf13c5 100644
--- a/apps/plugins/pdbox/PDa/src/m_pd.h
+++ b/apps/plugins/pdbox/PDa/src/m_pd.h
@@ -49,15 +49,23 @@ extern "C" {
49#include <stddef.h> /* just for size_t -- how lame! */ 49#include <stddef.h> /* just for size_t -- how lame! */
50#endif 50#endif
51 51
52#ifdef ROCKBOX
53#include <inttypes.h>
54#endif
55
52#define MAXPDSTRING 1000 /* use this for anything you want */ 56#define MAXPDSTRING 1000 /* use this for anything you want */
53#define MAXPDARG 5 /* max number of args we can typecheck today */ 57#define MAXPDARG 5 /* max number of args we can typecheck today */
54 58
55 /* signed and unsigned integer types the size of a pointer: */ 59 /* signed and unsigned integer types the size of a pointer: */
60#ifdef ROCKBOX
61typedef intptr_t t_int;
62#else /* ROCKBOX */
56#ifdef __alpha__ 63#ifdef __alpha__
57typedef long t_int; 64typedef long t_int;
58#else 65#else
59typedef int t_int; 66typedef int t_int;
60#endif 67#endif
68#endif /* ROCKBOX */
61 69
62typedef float t_float; /* a floating-point number at most the same size */ 70typedef float t_float; /* a floating-point number at most the same size */
63typedef float t_floatarg; /* floating-point type for function calls */ 71typedef float t_floatarg; /* floating-point type for function calls */