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

Try to fix the socket code on Mac OS X
parent ba2d3883
No related branches found
No related tags found
No related merge requests found
/* $Id: GmshServer.cpp,v 1.13 2003-03-21 00:52:37 geuzaine Exp $ */
/* $Id: GmshServer.cpp,v 1.14 2003-03-25 19:10:08 geuzaine Exp $ */
/*
Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
......@@ -59,7 +59,7 @@ static int Socket_ReceiveData(int socket, void *buffer, int bytes)
static int Socket_UnlinkName(char *name)
{
#if defined(_AIX)
#if defined(_AIX) || defined(__APPLE__)
char name2[1000];
strcpy(name2, name);
name2[strlen(name2) - 1] = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment