Projects
Games
togaII-142
togaII-142-egbb_path.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File togaII-142-egbb_path.patch of Package togaII-142
--- main.cpp.orig 2009-08-28 20:46:19.323097012 +0200 +++ main.cpp 2009-08-28 20:47:16.509856922 +0200 @@ -22,7 +22,11 @@ #include "vector.h" #include "probe.h" +#ifdef _MSC_VER static char * egbb_path = "c:/egbb/"; +#else +static char * egbb_path = "/usr/share/egbb/"; +#endif static uint32 egbb_cache_size = 16; // functions --- option.cpp.orig 2009-08-28 20:51:40.451110978 +0200 +++ option.cpp 2009-08-28 20:52:47.667109589 +0200 @@ -38,7 +38,11 @@ { "OwnBook", true, "true", "check", "", NULL }, { "BookFile", true, "performance.bin", "string", "", NULL }, +#ifdef _MSC_VER { "Bitbases Path", true, "c:/egbb/", "string", "", NULL }, +#else + { "Bitbases Path", true, "/usr/share/egbb/", "string", "", NULL }, +#endif { "Bitbases Cache Size", true, "16", "spin", "min 16 max 1024", NULL }, { "MultiPV", true, "1", "spin", "min 1 max 10", NULL }, --- protocol.cpp.orig 2009-08-28 20:47:28.983099192 +0200 +++ protocol.cpp 2009-08-28 20:48:42.075300365 +0200 @@ -52,7 +52,11 @@ static bool Infinite; // infinite or ponder mode? static bool Delay; // postpone "bestmove" in infinite/ponder mode? +#ifdef _MSC_VER static char * dirptr = "C:/egbb"; +#else +static char * dirptr = "/usr/share/egbb/"; +#endif // prototypes
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.