From 545808868a3788b39fab70a606c0e75ca3c270e6 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 26 Sep 2005 19:37:16 +0000 Subject: [PATCH] re-add the WIN32 test (the add_fd code is not ready) --- Fltk/Solvers.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Fltk/Solvers.cpp b/Fltk/Solvers.cpp index fd3816bf0b..92e715fe7f 100644 --- a/Fltk/Solvers.cpp +++ b/Fltk/Solvers.cpp @@ -1,4 +1,4 @@ -// $Id: Solvers.cpp,v 1.40 2005-09-25 18:51:27 geuzaine Exp $ +// $Id: Solvers.cpp,v 1.41 2005-09-26 19:37:16 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -24,6 +24,8 @@ SolverInfo SINFO[MAXSOLVERS]; +#if !defined(WIN32) || defined(__CYGWIN__) + #include "GmshServer.h" // FIXME: this should be removed (and we should set the socket options @@ -272,3 +274,13 @@ int Solver(int num, char *args) return 1; } + +#else // pure windows + +int Solver(int num, char *args) +{ + Msg(GERROR, "Solver interface not available on Windows without Cygwin"); + return 1; +} + +#endif -- GitLab