Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Export sdp_solve only when compiling with csdp!
authorvelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 14 Feb 2007 16:41:28 +0000 (16:41 +0000)
committervelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 14 Feb 2007 16:41:28 +0000 (16:41 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3147 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/include/surf/maxmin.h

index fba8302..705cb9d 100644 (file)
@@ -9,7 +9,7 @@
 #define _SURF_MAXMIN_H
 
 #include "xbt/misc.h"
-
+#include "portable.h" 
 static XBT_INLINE void double_update(double *variable, double value) 
 {
   *variable -= value;
@@ -71,5 +71,8 @@ void lmm_update_constraint_bound(lmm_system_t sys, lmm_constraint_t cnst,
 int lmm_constraint_used(lmm_system_t sys, lmm_constraint_t cnst);
 
 void lmm_solve(lmm_system_t sys);
+#ifdef HAVE_SDP
 void sdp_solve(lmm_system_t sys);
+#endif /* HAVE_SDP */
+
 #endif                         /* _SURF_MAXMIN_H */