Skip to content

Commit

Permalink
for vs2017 compile err.
Browse files Browse the repository at this point in the history
  • Loading branch information
yssaya committed Dec 8, 2023
1 parent 5b27391 commit 1bb3934
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/usi-engine/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bases = Network Leela Utils Zobrist GTP Random SMP OpenCL OpenCLScheduler NNCac
ifneq ($(CPU_ONLY), 1)
bases += iobase xzi err shogibase osi nnet nnet-cpu nnet-ocl nnet-srv opencli nnet-ipc option
endif
bases += $(addprefix bona/, data main io proce utility ini attack book makemove unmake time csa valid bitop iterate searchr search quiesrch evaluate swap hash root next movgenex genevasn gencap gennocap gendrop mate1ply rand learn1 learn2 evaldiff problem ponder thread sckt debug mate3 genchk phash dfpn dfpnhash ysszero yss_net pipe)
bases += $(addprefix bona/, data main io proce utility ini attack book makemove unmake time csa valid bitop iterate searchr search quiesrch evaluate swap hash root next movgenex genevasn gencap gennocap gendrop mate1ply rand learn1 learn2 evaldiff problem ponder thread sckt debug mate3 genchk phash dfpn dfpnhash ysszero yss_net pipe r_book)

sources = $(addsuffix .cpp, $(bases))
objects = $(addsuffix .o, $(bases))
Expand Down
2 changes: 2 additions & 0 deletions src/usi-engine/bona/proce.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// 2019 Team AobaZero
// This source code is in the public domain.
#include "../config.h"

#include <ctype.h>
#include <limits.h>
#include <math.h>
Expand Down
2 changes: 2 additions & 0 deletions src/usi-engine/msvc/VS2017/leela-zero.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,14 @@
<ClCompile Include="..\..\bona\movgenex.cpp" />
<ClCompile Include="..\..\bona\next.cpp" />
<ClCompile Include="..\..\bona\phash.cpp" />
<ClCompile Include="..\..\bona\pipe.cpp" />
<ClCompile Include="..\..\bona\ponder.cpp" />
<ClCompile Include="..\..\bona\problem.cpp" />
<ClCompile Include="..\..\bona\proce.cpp" />
<ClCompile Include="..\..\bona\quiesrch.cpp" />
<ClCompile Include="..\..\bona\rand.cpp" />
<ClCompile Include="..\..\bona\root.cpp" />
<ClCompile Include="..\..\bona\r_book.cpp" />
<ClCompile Include="..\..\bona\sckt.cpp" />
<ClCompile Include="..\..\bona\search.cpp" />
<ClCompile Include="..\..\bona\searchr.cpp" />
Expand Down
6 changes: 6 additions & 0 deletions src/usi-engine/msvc/VS2017/leela-zero.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@
<ClCompile Include="..\..\..\common\opencli.cpp">
<Filter>Source Files\common</Filter>
</ClCompile>
<ClCompile Include="..\..\bona\pipe.cpp">
<Filter>Source Files\bona</Filter>
</ClCompile>
<ClCompile Include="..\..\bona\r_book.cpp">
<Filter>Source Files\bona</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand Down

0 comments on commit 1bb3934

Please sign in to comment.