Skip to content
Snippets Groups Projects
Commit 54580886 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

re-add the WIN32 test (the add_fd code is not ready)
parent 770efe07
No related branches found
No related tags found
No related merge requests found
// $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 // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
// //
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
SolverInfo SINFO[MAXSOLVERS]; SolverInfo SINFO[MAXSOLVERS];
#if !defined(WIN32) || defined(__CYGWIN__)
#include "GmshServer.h" #include "GmshServer.h"
// FIXME: this should be removed (and we should set the socket options // FIXME: this should be removed (and we should set the socket options
...@@ -272,3 +274,13 @@ int Solver(int num, char *args) ...@@ -272,3 +274,13 @@ int Solver(int num, char *args)
return 1; return 1;
} }
#else // pure windows
int Solver(int num, char *args)
{
Msg(GERROR, "Solver interface not available on Windows without Cygwin");
return 1;
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment