summaryrefslogtreecommitdiff
path: root/py/misc.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-20 17:29:58 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-20 17:29:58 +0300
commit09e3f8f0d1b8156d8d2746d9088671352c0f749d (patch)
tree53a632c86fe7854e0cc7c4ade6b4e6d4ca6dbf96 /py/misc.h
parent74c710187c77ebd5ab8c5a44b07087f2c2ca786e (diff)
parentf6932d650620d3753b5a18df5131227276260f74 (diff)
Merge pull request #707 from eblot/master-v1.1.1-build-fixes
Fix missing declaration of assert() Replace ARRAY_SIZE with MP_ARRAY_SIZE
Diffstat (limited to 'py/misc.h')
-rw-r--r--py/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/misc.h b/py/misc.h
index 044fef623..3f62e3198 100644
--- a/py/misc.h
+++ b/py/misc.h
@@ -82,7 +82,7 @@ int m_get_peak_bytes_allocated(void);
/** array helpers ***********************************************/
// get the number of elements in a fixed-size array
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+#define MP_ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
/** unichar / UTF-8 *********************************************/