mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 21:03:14 +01:00
fix ldc2 compilation for Haiku; thanks to MrSunshine
This commit is contained in:
@@ -415,7 +415,9 @@ int Port::isFinite(double r)
|
||||
return ::finite(r);
|
||||
}
|
||||
|
||||
#if !defined __HAIKU__
|
||||
#undef isinf
|
||||
#endif
|
||||
int Port::isInfinity(double r)
|
||||
{
|
||||
#if __APPLE__
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "template.h"
|
||||
#include "attrib.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#if IN_LLVM
|
||||
// sizes based on those from tollvm.cpp:DtoMutexType()
|
||||
int os_critsecsize()
|
||||
|
||||
Reference in New Issue
Block a user