diff options
author | Joshua Diamond <josh@windowoffire.com> | 2022-09-18 19:06:31 -0400 |
---|---|---|
committer | Joshua Diamond <josh@windowoffire.com> | 2022-09-18 19:06:31 -0400 |
commit | 9a1b4b78f11e2953e758499ecadbe7069a3fdbdc (patch) | |
tree | b08af812f4befc3af4c8326c129ee29da5e3dfe5 /users/jonavin | |
parent | 8beb61b790d215a365298d3aa865ebf1ebf78d8c (diff) | |
parent | ecb4ba70b1d48835e75da6b0a8ad566c2f126b9f (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/jonavin')
-rw-r--r-- | users/jonavin/jonavin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/users/jonavin/jonavin.h b/users/jonavin/jonavin.h index c3e383bd3a..97f72c1248 100644 --- a/users/jonavin/jonavin.h +++ b/users/jonavin/jonavin.h @@ -17,6 +17,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once +// DEFINE MACROS +#ifndef ARRAYSIZE +#define ARRAYSIZE(arr) sizeof(arr)/sizeof(arr[0]) +#endif // !ARRAYSIZE // LAYERS enum custom_user_layers { |