fixes based on MSVC compile

This commit is contained in:
Josh Coalson
2002-06-01 06:31:27 +00:00
parent ba2c1b89fb
commit 7ee4d1780c
11 changed files with 124 additions and 114 deletions

View File

@@ -33,7 +33,7 @@ OBJS= $(C_FILES:.c=.obj)
all: metaflac.exe
metaflac.exe: $(OBJS)
link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS)
link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS) libFLAC.lib getopt.lib
clean:
-del *.obj *.pch

View File

@@ -201,7 +201,7 @@ typedef struct {
unsigned capacity;
} args;
unsigned num_files;
const char **filenames;
char **filenames;
} CommandLineOptions;
static void die(const char *message);