#ifndef _PLATFORM_DEF_H
#define _PLATFORM_DEF_H

#ifdef __cplusplus
extern "C" {
#endif

#define ARR_CAPACITY(a) (sizeof(a)/sizeof(a[0]))

struct FILE* fopen_(const char *filename, const char *mode);

#ifdef __cplusplus
}
#endif

#endif /* _PLATFORM_DEF_H */
