HAVE_GETOPT is always NO for windows
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user