diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-06-16 19:57:33 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-06-16 19:57:33 +0200 |
commit | 1ea16853f4ebedb310dba31309dd66070a9a3e7b (patch) | |
tree | 491911601d1e451f1310853e8f3a6b9237b45062 /tools | |
parent | 7eba4ceaf574246d971ae01a8f52c5f075aca35a (diff) |
CWS systemlibc: #i69033#: some fixes for Windows
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bootstrp/makefile.mk | 3 | ||||
-rw-r--r-- | tools/bootstrp/rscdep.cxx | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tools/bootstrp/makefile.mk b/tools/bootstrp/makefile.mk index b592cb900630..0869a2dd12f0 100644 --- a/tools/bootstrp/makefile.mk +++ b/tools/bootstrp/makefile.mk @@ -83,6 +83,9 @@ APP2TARGET= rscdep APP2OBJS= $(OBJ)$/rscdep.obj APP2LIBS= $(LB)$/$(TARGET).lib $(LB)$/$(TARGET1).lib APP2STDLIBS= $(SALLIB) $(VOSLIB) $(TOOLSLIB) $(BASEGFXLIB) $(UCBHELPERLIB) $(CPPULIB) $(COMPHELPERLIB) $(I18NISOLANGLIB) $(CPPUHELPERLIB) $(SALHELPERLIB) +.IF "$(OS)"=="WNT" +APP2STDLIBS+=gnu_getopt.lib +.ENDIF APP2RPATH= NONE APP2RPATH= NONE APP2RPATH= NONE diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx index ebe1e2f412e2..0d39794b8476 100644 --- a/tools/bootstrp/rscdep.cxx +++ b/tools/bootstrp/rscdep.cxx @@ -45,6 +45,12 @@ #include "cppdep.hxx" +#ifdef WNT +#define __STDC__ 1 +#define __GNU_LIBRARY__ +#include <external/glibc/getopt.h> +#endif + class RscHrcDep : public CppDep { public: |