From 40775ce183ac29e9598cbca59e995c7e77327a1a Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Thu, 12 Apr 2012 22:07:11 +0200 Subject: HAVE_GETOPT is always NO for windows --- tools/Executable_rscdep.mk | 6 ------ tools/bootstrp/rscdep.cxx | 4 ---- 2 files changed, 10 deletions(-) (limited to 'tools') diff --git a/tools/Executable_rscdep.mk b/tools/Executable_rscdep.mk index 21171625b829..a353b8db0546 100644 --- a/tools/Executable_rscdep.mk +++ b/tools/Executable_rscdep.mk @@ -57,15 +57,9 @@ $(eval $(call gb_Executable_add_exception_objects,rscdep,\ )) ifeq ($(OS),WNT) -ifeq ($(HAVE_GETOPT),YES) -$(eval $(call gb_Executable_add_defs,rscdep,\ - -DHAVE_GETOPT \ -)) -else $(eval $(call gb_Executable_use_libraries,rscdep,\ gnu_getopt \ )) endif -endif # vim: set noet sw=4 ts=4: diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx index f10448d911a0..269086b8de46 100644 --- a/tools/bootstrp/rscdep.cxx +++ b/tools/bootstrp/rscdep.cxx @@ -44,13 +44,9 @@ #include "cppdep.hxx" #if defined WNT -#if !defined HAVE_GETOPT #define __STDC__ 1 #define __GNU_LIBRARY__ #include -#else -#include -#endif #endif class RscHrcDep : public CppDep -- cgit