Lines 59-64
Link Here
|
59 |
#include <stdint.h> |
59 |
#include <stdint.h> |
60 |
#include <stdlib.h> |
60 |
#include <stdlib.h> |
61 |
#include <string.h> |
61 |
#include <string.h> |
|
|
62 |
#include <strings.h> |
62 |
#ifdef CHM_DEBUG |
63 |
#ifdef CHM_DEBUG |
63 |
#include <stdio.h> |
64 |
#include <stdio.h> |
64 |
#endif |
65 |
#endif |
Lines 70-83
Link Here
|
70 |
#ifdef WIN32 |
71 |
#ifdef WIN32 |
71 |
#include <windows.h> |
72 |
#include <windows.h> |
72 |
#include <malloc.h> |
73 |
#include <malloc.h> |
73 |
#ifdef _WIN32_WCE |
|
|
74 |
#define strcasecmp _stricmp |
74 |
#define strcasecmp _stricmp |
75 |
#define strncasecmp _strnicmp |
75 |
#define strncasecmp _strnicmp |
76 |
#else |
76 |
#else |
77 |
#define strcasecmp _stricmp |
|
|
78 |
#define strncasecmp _strnicmp |
79 |
#endif |
80 |
#else |
81 |
/* basic Linux system includes */ |
77 |
/* basic Linux system includes */ |
82 |
#define _XOPEN_SOURCE 500 |
78 |
#define _XOPEN_SOURCE 500 |
83 |
#include <unistd.h> |
79 |
#include <unistd.h> |
84 |
- |
|
|