mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
fix macos build( maybe? #296 )
This commit is contained in:
parent
e7addfc9ad
commit
2636f1a66d
@ -345,10 +345,6 @@ unsigned int CPhonemeTag::ComputeDataCheckSum()
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Simple language to string and string to language lookup dictionary
|
||||
//-----------------------------------------------------------------------------
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#pragma pack(1)
|
||||
#endif
|
||||
|
||||
struct CCLanguage
|
||||
{
|
||||
int type;
|
||||
@ -371,9 +367,6 @@ static CCLanguage g_CCLanguageLookup[] =
|
||||
{ CC_THAI, "thai", 0 , 150, 250 },
|
||||
{ CC_PORTUGUESE,"portuguese", 0 , 0, 150 },
|
||||
};
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#pragma pack()
|
||||
#endif
|
||||
|
||||
void CSentence::ColorForLanguage( int language, unsigned char& r, unsigned char& g, unsigned char& b )
|
||||
{
|
||||
@ -1767,4 +1760,4 @@ void CSentence::CreateEventWordDistribution( char const *pszText, float flSenten
|
||||
}
|
||||
|
||||
|
||||
#endif // !_STATIC_LINKED || _SHARED_LIB
|
||||
#endif // !_STATIC_LINKED || _SHARED_LIB
|
||||
|
Loading…
Reference in New Issue
Block a user