projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
dd6c8d9
)
Fix Visual Studio linker error
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Tue, 11 Aug 2020 05:38:18 +0000 (07:38 +0200)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Tue, 11 Aug 2020 05:39:35 +0000 (07:39 +0200)
Closes #169.
src/types.h
patch
|
blob
|
history
diff --git
a/src/types.h
b/src/types.h
index
8fcbbbd
..
ac46f2a
100644
(file)
--- a/
src/types.h
+++ b/
src/types.h
@@
-51,6
+51,7
@@
#pragma warning(disable: 4146) // Unary minus operator applied to unsigned type
#pragma warning(disable: 4800) // Forcing value to bool 'true' or 'false'
#pragma comment(linker, "/STACK:8000000") // Use 8 MB stack size for MSVC
+#pragma comment(lib, "advapi32.lib") // Fix linker error
#endif
/// Predefined macros hell: