CentOS build fixes to build in Cent7.
This commit is contained in:
parent
891815054c
commit
bad1e0d529
2 changed files with 15 additions and 11 deletions
2
one.cpp
2
one.cpp
|
@ -2068,7 +2068,7 @@ int __cdecl _tmain(int argc, _TCHAR* argv[])
|
|||
int main(int argc,char **argv)
|
||||
#endif
|
||||
{
|
||||
#ifdef __LINUX__
|
||||
#if defined(__LINUX__) && ( (!defined(__GLIBC__)) || ((__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 18)) )
|
||||
// This corrects for systems with abnormally small defaults (musl) and also
|
||||
// shrinks the stack on systems with large defaults to save a bit of memory.
|
||||
pthread_attr_t tattr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue