From 1bda6aff08e931276ad8aab72e08f6d82e37bb49 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 28 Jan 2004 23:40:35 +0000 Subject: [PATCH] Added getopt.c for WIN32 --- src/libCom/Makefile.Host | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/Makefile.Host b/src/libCom/Makefile.Host index 83776fa85..587c977d0 100644 --- a/src/libCom/Makefile.Host +++ b/src/libCom/Makefile.Host @@ -96,9 +96,9 @@ LIBSRCS += $(patsubst %,fdManager.cc,$(strip $(CPLUSPLUS))) LIBSRCS += $(patsubst %,osiTimer.cc,$(strip $(CPLUSPLUS))) LIBSRCS += $(patsubst %,osdTime.cc,$(strip $(CPLUSPLUS))) -# WIN32 +# WIN32 has no getopt, we add it to the Com lib, # special initialisation is done in winmain.c -LIBSRCS_WIN32 := getLastWSAErrorAsString.c +LIBSRCS_WIN32 := getopt.c getLastWSAErrorAsString.c LIBSRCS_WIN32 += $(patsubst %,dllmain.cc,$(strip $(CPLUSPLUS))) # Library to build: