Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
:
ruby
>
rubygem-passenger
> arm-avoid-long-double.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File arm-avoid-long-double.patch of Package rubygem-passenger
--- ext/common/MessageChannel.h 2012-08-30 07:52:38.318842774 +0200 +++ ext/common/MessageChannel.h 2012-08-30 10:16:01.379945864 +0200 @@ -389,14 +389,14 @@ unsigned int ret; try { ret = Passenger::readExact(fd, buf, size, &t); - #if defined(__NetBSD__) || defined(__OpenBSD__) || defined(_AIX) + #if defined(__arm__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(_AIX) *timeout = llround((double) t / 1000); #else *timeout = llroundl((long double) t / 1000); #endif return ret == size; } catch (...) { - #if defined(__NetBSD__) || defined(__OpenBSD__) || defined(_AIX) + #if defined(__arm__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(_AIX) *timeout = llround((double) t / 1000); #else *timeout = llroundl((long double) t / 1000);