#ifndef _DEF_STDLIB_H #define _DEF_STDLIB_H #include #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) void *memcpy(void *dest, const void *src, int count); void *memset(void *dest, int val, int count); uint16_t *memsetw(uint16_t *dest, uint16_t val, int count); #endif