FIx ARRAYSIZE def and Murphpad string array (#18392)
Co-authored-by: Jonavin <=>
This commit is contained in:
@ -18,7 +18,9 @@ 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
|
||||
|
Reference in New Issue
Block a user