winemenubuilder: Don't define crc16() on Mac OS.
This commit is contained in:
parent
1f1a97a9b5
commit
db7383d969
|
@ -199,6 +199,7 @@ static WCHAR* assoc_query(ASSOCSTR assocStr, LPCWSTR name, LPCWSTR extra);
|
|||
static HRESULT open_icon(LPCWSTR filename, int index, BOOL bWait, IStream **ppStream);
|
||||
|
||||
/* Utility routines */
|
||||
#ifndef __APPLE__
|
||||
static unsigned short crc16(const char* string)
|
||||
{
|
||||
unsigned short crc = 0;
|
||||
|
@ -217,6 +218,7 @@ static unsigned short crc16(const char* string)
|
|||
}
|
||||
return crc;
|
||||
}
|
||||
#endif
|
||||
|
||||
static char *strdupA( const char *str )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue