winemenubuilder: Don't define crc16() on Mac OS.

This commit is contained in:
Charles Davis 2011-10-08 14:34:17 -06:00 committed by Alexandre Julliard
parent 1f1a97a9b5
commit db7383d969
1 changed files with 2 additions and 0 deletions

View File

@ -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 )
{