4646
4747inline  void  ProcessPlugins (int  n ) {}
4848
49- #define  strncasecmp (a ,b ,c ) strncmp(a,b,c)
50- #define  strcasecmp (a ,b ) strcmp(a,b)
51- #define  strnicmp (a ,b ,c )	strncasecmp(a,b,c)
49+ #undef  strcasecmp
50+ #undef  strncasecmp
51+ #undef  stricmp
52+ #undef  strnicmp
53+ #define  strcasecmp (a ,b ) _stricmp(a,b)
54+ #define  strncasecmp (a ,b ,c ) _strnicmp(a,b,c)
55+ #define  stricmp (a ,b ) _stricmp(a,b)
56+ #define  strnicmp (a ,b ,c ) _strnicmp(a,b,c)
5257#define  HAVE_SINF  1
5358
5459#ifndef  isblank 
@@ -96,10 +101,12 @@ inline LONG MulDiv (long a, long b, long c)
96101#define  lstrcpyn  strncpy
97102#define  lstrcpy  strcpy
98103#define  lstrcmp  strcmp
104+ #define  wsprintf  sprintf
105+ 
99106#define  WAVE_FORMAT_PCM  1
100107
101108#define  GHND  0
102- 
109+ #define   GlobalFreePtr ( p ) free((void *)(p)) 
103110inline  int8_t  *  GlobalAllocPtr (unsigned int  , size_t  size )
104111{
105112 int8_t  *  p  =  (int8_t  * ) malloc (size );
@@ -110,11 +117,6 @@ inline int8_t * GlobalAllocPtr(unsigned int, size_t size)
110117
111118inline  void  ProcessPlugins (int  n ) {}
112119
113- #define  GlobalFreePtr (p ) free((void *)(p))
114- 
115- #define  strnicmp (a ,b ,c )	strncasecmp(a,b,c)
116- #define  wsprintf sprintf
117- 
118120#ifndef  FALSE 
119121#define  FALSE false
120122#endif 
0 commit comments