diff --git a/Fltk/Solvers.cpp b/Fltk/Solvers.cpp index fd3816bf0bc00c61925fec2f2671c4f2ba534d6d..92e715fe7f265fdd32b7e8608c0ce29da5aaff57 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