From 8e5d66ead576c34f92ec395f0a8476a4cbb04b76 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Fri, 6 Oct 2023 03:33:45 +0300 Subject: [PATCH] fix macos build( maybe? #296 ) --- public/sentence.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/public/sentence.cpp b/public/sentence.cpp index 499947804b..ea06426e67 100644 --- a/public/sentence.cpp +++ b/public/sentence.cpp @@ -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 \ No newline at end of file +#endif // !_STATIC_LINKED || _SHARED_LIB