Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
qucs
qucs-m4.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qucs-m4.diff of Package qucs
diff --git a/qucs-core/m4/complexcxx.m4 b/qucs-core/m4/complexcxx.m4 index 9eecee6..9f61dc8 100644 --- a/qucs-core/m4/complexcxx.m4 +++ b/qucs-core/m4/complexcxx.m4 @@ -121,8 +121,13 @@ AC_DEFUN([AC_CHECK_CXX_COMPLEX_POW], #endif ]], [[complex<double> x,y; - pow(x,double(2.0)); - pow(x, y); pow(double(2.0), x); + #ifdef HAVE_TR1_COMPLEX + std::tr1::pow(x,double(2.0)); + std::tr1::pow(x, y); std::tr1::pow(double(2.0), x); + #else + std::pow(x,double(2.0)); + std::pow(x, y); std::pow(double(2.0), x); + #endif return 0;]])], [AS_VAR_SET([ac_var], [yes])], [AS_VAR_SET([ac_var], [no])])])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor