mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-28 15:34:16 +00:00
MSVS project update for config_parser commit
This commit is contained in:
parent
513307c790
commit
85a6adf8fb
23
winbuild/dist/include/winbuild.h
vendored
23
winbuild/dist/include/winbuild.h
vendored
@ -131,6 +131,29 @@ inline void* memmem (void* buf, size_t buflen, void* pat, size_t patlen)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef HAVE_STRSEP
|
||||
inline char *strsep(char **stringp, const char *delim)
|
||||
{
|
||||
char *res;
|
||||
|
||||
if (!stringp || !*stringp || !**stringp) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
res = *stringp;
|
||||
while(**stringp && !strchr(delim, **stringp)) {
|
||||
++(*stringp);
|
||||
}
|
||||
|
||||
if (**stringp) {
|
||||
**stringp = '\0';
|
||||
++(*stringp);
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define va_copy(a, b) memcpy(&(a), &(b), sizeof(va_list))
|
||||
|
||||
#define usleep(x) Sleep((x)/1000)
|
||||
|
@ -273,6 +273,7 @@
|
||||
<ClCompile Include="..\compat\jansson-2.5\src\utf.c" />
|
||||
<ClCompile Include="..\compat\jansson-2.5\src\value.c" />
|
||||
<ClCompile Include="..\algorithm\darkcoin.c" />
|
||||
<ClCompile Include="..\config_parser.c" />
|
||||
<ClCompile Include="..\driver-opencl.c" />
|
||||
<ClCompile Include="..\findnonce.c" />
|
||||
<ClCompile Include="..\algorithm\fuguecoin.c" />
|
||||
@ -318,6 +319,7 @@
|
||||
<ClInclude Include="..\adl.h" />
|
||||
<ClInclude Include="..\algorithm.h" />
|
||||
<ClInclude Include="..\algorithm\animecoin.h" />
|
||||
<ClInclude Include="..\api.h" />
|
||||
<ClInclude Include="..\arg-nonnull.h" />
|
||||
<ClInclude Include="..\bench_block.h" />
|
||||
<ClInclude Include="..\c++defs.h" />
|
||||
@ -328,6 +330,7 @@
|
||||
<ClInclude Include="..\compat\jansson-2.5\src\strbuffer.h" />
|
||||
<ClInclude Include="..\compat\jansson-2.5\src\utf.h" />
|
||||
<ClInclude Include="..\algorithm\darkcoin.h" />
|
||||
<ClInclude Include="..\config_parser.h" />
|
||||
<ClInclude Include="..\driver-opencl.h" />
|
||||
<ClInclude Include="..\elist.h" />
|
||||
<ClInclude Include="..\findnonce.h" />
|
||||
|
@ -212,6 +212,9 @@
|
||||
<ClCompile Include="..\algorithm\twecoin.c">
|
||||
<Filter>Source Files\algorithm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\config_parser.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\adl.h">
|
||||
@ -379,6 +382,12 @@
|
||||
<ClInclude Include="..\algorithm\twecoin.h">
|
||||
<Filter>Header Files\algorithm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\api.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\config_parser.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="README.txt" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user