WinCE port ---------- (See the file WinCE-PORT for a detailed explanation.) In config.h: you need to define the following which are undefined by default: #define NEED_DUPLICATEHANDLE #define NEED_CREATETHREAD #define NEED_ERRNO #define NEED_CALLOC #define NEED_FTIME #define NEED_SEM