Skip to content

Commit 2636f1a

Browse files
committed
fix macos build( maybe? #296 )
1 parent e7addfc commit 2636f1a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

public/sentence.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,6 @@ unsigned int CPhonemeTag::ComputeDataCheckSum()
345345
//-----------------------------------------------------------------------------
346346
// Purpose: Simple language to string and string to language lookup dictionary
347347
//-----------------------------------------------------------------------------
348-
#if defined(__i386__) || defined(__x86_64__)
349-
#pragma pack(1)
350-
#endif
351-
352348
struct CCLanguage
353349
{
354350
int type;
@@ -371,9 +367,6 @@ static CCLanguage g_CCLanguageLookup[] =
371367
{ CC_THAI, "thai", 0 , 150, 250 },
372368
{ CC_PORTUGUESE,"portuguese", 0 , 0, 150 },
373369
};
374-
#if defined(__i386__) || defined(__x86_64__)
375-
#pragma pack()
376-
#endif
377370

378371
void CSentence::ColorForLanguage( int language, unsigned char& r, unsigned char& g, unsigned char& b )
379372
{
@@ -1767,4 +1760,4 @@ void CSentence::CreateEventWordDistribution( char const *pszText, float flSenten
17671760
}
17681761

17691762

1770-
#endif // !_STATIC_LINKED || _SHARED_LIB
1763+
#endif // !_STATIC_LINKED || _SHARED_LIB

0 commit comments

Comments
 (0)