annotate include/core/array.h @ 23:386b9c08f185

ci: use "dev" versions of packages where applicable
author Paper <mrpapersonic@gmail.com>
date Tue, 19 Sep 2023 23:53:21 -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