mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
Applied the FreeBSD patch from Ralith, closes ticket #95 , slightly changed but basically the same. Thanx Ralith :)
This commit is contained in:
@@ -704,6 +704,12 @@ const LLStructType* DtoMutexType()
|
||||
return LLStructType::get(types);
|
||||
}
|
||||
|
||||
// FreeBSD
|
||||
else if (global.params.os == OSFreeBSD) {
|
||||
// Just a pointer
|
||||
return LLStructType::get(DtoSize_t(), 0);
|
||||
}
|
||||
|
||||
// pthread_fastlock
|
||||
std::vector<const LLType*> types2;
|
||||
types2.push_back(DtoSize_t());
|
||||
|
||||
Reference in New Issue
Block a user