make it work on linux r=dougt

This commit is contained in:
darin%netscape.com 2003-04-23 23:44:48 +00:00
parent 245584a2d9
commit d708d8946f
3 changed files with 5 additions and 3 deletions

View File

@ -26,10 +26,12 @@ EXTRA_DSO_LDOPTS = \
$(NULL)
LIBS = \
tstysupt.lib \
-ltstysupt \
$(NSPR_LIBS) \
$(NULL)
DIRS = sample
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@ -5,7 +5,7 @@ FILE* gLogFile = NULL;
int Testy_LogInit(const char* fileName)
{
gLogFile = fopen(fileName, "r+b");
gLogFile = fopen(fileName, "w+b");
if (!gLogFile) return -1;
return 0;
}

View File

@ -20,7 +20,7 @@ CPPSRCS = \
$(NULL)
EXTRA_DSO_LDOPTS = \
../tstysupt.lib \
-ltstysupt \
$(NSPR_LIBS) \
$(NULL)