aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-16 02:53:06 +0000
committerhpa <hpa>2004-12-16 02:53:06 +0000
commitedf3cfd4ded5ce20dea5baabfcf9685e7a01eaf1 (patch)
tree4fdf3177c788284a36001df468f75c0f183beea8
parent8549be634852225b15b19a55db884f5716277b77 (diff)
downloadsyslinux.git-edf3cfd4ded5ce20dea5baabfcf9685e7a01eaf1.tar.gz
syslinux.git-edf3cfd4ded5ce20dea5baabfcf9685e7a01eaf1.tar.xz
syslinux.git-edf3cfd4ded5ce20dea5baabfcf9685e7a01eaf1.zip
Fix make of win32
-rw-r--r--win32/Makefile2
-rw-r--r--win32/syslinux.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 83595365..2c03125f 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -54,7 +54,7 @@ VPATH = .:..:../libfat
TARGETS = syslinux.exe
-ifeq ($(CC_IS_OK),0)
+ifeq ($(CC_IS_GOOD),0)
all: $(TARGETS)
else
all:
diff --git a/win32/syslinux.c b/win32/syslinux.c
index 68ebb106..2f614b4e 100644
--- a/win32/syslinux.c
+++ b/win32/syslinux.c
@@ -84,9 +84,12 @@ int main(int argc, char *argv[])
char **argp, *opt;
char drive_name[128];
char ldlinux_name[128];
+ const char *errmsg;
int force = 0; /* -f (force) option */
+ (void)argc;
+
if (!checkver()) {
fprintf(stderr, "You need to be running at least Windows NT\n");
exit(1);