mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(win32) Don't use files in /tmp/ for test on win32
This commit is contained in:
parent
64c9e8aabc
commit
77fdc04c0e
1 changed files with 5 additions and 0 deletions
|
@ -41,8 +41,13 @@ createTestBlocklist( const char * tmpfile )
|
||||||
int
|
int
|
||||||
main( void )
|
main( void )
|
||||||
{
|
{
|
||||||
|
#ifndef WIN32
|
||||||
char * tmpfile_txt = "/tmp/transmission-blocklist-test.txt";
|
char * tmpfile_txt = "/tmp/transmission-blocklist-test.txt";
|
||||||
char * tmpfile_bin = "/tmp/transmission-blocklist-test.bin";
|
char * tmpfile_bin = "/tmp/transmission-blocklist-test.bin";
|
||||||
|
#else
|
||||||
|
char * tmpfile_txt = "transmission-blocklist-test.txt";
|
||||||
|
char * tmpfile_bin = "transmission-blocklist-test.bin";
|
||||||
|
#endif
|
||||||
struct in_addr addr;
|
struct in_addr addr;
|
||||||
int test = 0;
|
int test = 0;
|
||||||
tr_blocklist * b;
|
tr_blocklist * b;
|
||||||
|
|
Loading…
Reference in a new issue