annotate include/core/array.h @ 32:dbb13eaeab62

ci: add experimental OS X build
author Paper <mrpapersonic@gmail.com>
date Wed, 20 Sep 2023 13:46:36 -0400
parents 8a4122caaf2f
children 329b7921a6be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 #ifndef __core__array_h
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 #define __core__array_h
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3
20
8a4122caaf2f *: redefine ARRAYSIZE on platforms that don't include it
Paper <mrpapersonic@gmail.com>
parents: 19
diff changeset
4 #ifndef ARRAYSIZE
19
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 #define ARRAYSIZE(x) \
20
8a4122caaf2f *: redefine ARRAYSIZE on platforms that don't include it
Paper <mrpapersonic@gmail.com>
parents: 19
diff changeset
6 (sizeof(x) / sizeof(x[0]))
8a4122caaf2f *: redefine ARRAYSIZE on platforms that don't include it
Paper <mrpapersonic@gmail.com>
parents: 19
diff changeset
7 #endif
19
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 #endif // __core__array_h