summaryrefslogtreecommitdiff
path: root/platformio/common/include/homekit/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'platformio/common/include/homekit/macros.h')
-rw-r--r--platformio/common/include/homekit/macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platformio/common/include/homekit/macros.h b/platformio/common/include/homekit/macros.h
new file mode 100644
index 0000000..7d3ad83
--- /dev/null
+++ b/platformio/common/include/homekit/macros.h
@@ -0,0 +1 @@
+#define ARRAY_SIZE(X) sizeof((X))/sizeof((X)[0]) \ No newline at end of file