adolc/0001-make-the-macro-check-clearer.patch
Kshitij Kulshreshtha 9775d67623 - Update to upstream version 2.5.1
* Lots of bugfixes
- Added a couple of post release bugfixes from trunk

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=41
2014-08-17 12:23:42 +00:00

38 lines
1005 B
Diff

From ed92d0ff0fd4b604083079af2dd3d2ce01794036 Mon Sep 17 00:00:00 2001
From: kulshres <kulshres@94ac48a7-3327-4b6a-8511-9a4036a20e83>
Date: Mon, 4 Aug 2014 11:49:18 +0000
Subject: [PATCH] make the macro check clearer.
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>
git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@536 94ac48a7-3327-4b6a-8511-9a4036a20e83
---
ADOL-C/src/ho_rev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ADOL-C/src/ho_rev.c b/ADOL-C/src/ho_rev.c
index 1b5477a..c309501 100644
--- a/ADOL-C/src/ho_rev.c
+++ b/ADOL-C/src/ho_rev.c
@@ -1071,7 +1071,7 @@ int hov_ti_reverse(
#endif
FOR_0_LE_l_LT_p {
-#if _HOS_OV_
+#if defined(_HOS_OV_)
deconv1(k,Targ1,Targ2,Tres);
#endif
if (0 == ARES) {
@@ -1121,7 +1121,7 @@ int hov_ti_reverse(
#endif
FOR_0_LE_l_LT_p {
-#if _HOS_OV_
+#if defined(_HOS_OV_)
inconv1(k,Targ1,Targ2,Tres);
#endif
if (0 == ARES) {
--
2.0.1