21#define JCONFIG_INCLUDED
42#ifdef NEED_SYS_TYPES_H
58#ifdef NEED_BSD_STRINGS
61#define MEMZERO(target,size) bzero((void *)(target), (size_t)(size))
62#define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size))
67#define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size))
68#define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size))
80#define SIZEOF(object) ((size_t) sizeof(object))
88#define JFREAD(file,buf,sizeofbuf) \
89 ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
90#define JFWRITE(file,buf,sizeofbuf) \
91 ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))