Author: cazfi Date: Fri Oct 7 18:17:18 2016 New Revision: 34049 URL: http://svn.gna.org/viewcvs/freeciv?rev=34049&view=rev Log: Added common srvdefs.h with TOKEN_DELIMITERS moved there also client end to use.
See patch #7882 Added: branches/S2_6/common/srvdefs.h Modified: branches/S2_6/common/Makefile.am branches/S2_6/server/stdinhand.c Modified: branches/S2_6/common/Makefile.am URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/Makefile.am?rev=34049&r1=34048&r2=34049&view=diff ============================================================================== --- branches/S2_6/common/Makefile.am (original) +++ branches/S2_6/common/Makefile.am Fri Oct 7 18:17:18 2016 @@ -97,6 +97,7 @@ spaceship.h \ specialist.c \ specialist.h \ + srvdefs.h \ style.c \ style.h \ team.c \ Added: branches/S2_6/common/srvdefs.h URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/srvdefs.h?rev=34049&view=auto ============================================================================== --- branches/S2_6/common/srvdefs.h (added) +++ branches/S2_6/common/srvdefs.h Fri Oct 7 18:17:18 2016 @@ -0,0 +1,26 @@ +/*********************************************************************** + Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. +***********************************************************************/ +#ifndef FC__SRVDEFS_H +#define FC__SRVDEFS_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#define TOKEN_DELIMITERS " \t\n," + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* FC__SRVDEFS_H */ Modified: branches/S2_6/server/stdinhand.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/stdinhand.c?rev=34049&r1=34048&r2=34049&view=diff ============================================================================== --- branches/S2_6/server/stdinhand.c (original) +++ branches/S2_6/server/stdinhand.c Fri Oct 7 18:17:18 2016 @@ -48,6 +48,7 @@ #include "player.h" #include "research.h" #include "rgbcolor.h" +#include "srvdefs.h" #include "unitlist.h" #include "version.h" @@ -83,8 +84,6 @@ #include "handicaps.h" #include "stdinhand.h" - -#define TOKEN_DELIMITERS " \t\n," #define OPTION_NAME_SPACE 25 _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits