Kaydet (Commit) 40775ce1 authored tarafından Matúš Kukan's avatar Matúš Kukan

HAVE_GETOPT is always NO for windows

üst 5dce2725
......@@ -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:
......@@ -44,13 +44,9 @@
#include "cppdep.hxx"
#if defined WNT
#if !defined HAVE_GETOPT
#define __STDC__ 1
#define __GNU_LIBRARY__
#include <external/glibc/getopt.h>
#else
#include <getopt.h>
#endif
#endif
class RscHrcDep : public CppDep
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment