diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2002-01-29 13:58:33 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2002-01-29 13:58:33 +0000 |
commit | 8f705c9e9111ec2405c5693e02cf09722a171077 (patch) | |
tree | edad1fe63b54dc5070a77b04b028c70eb74659f8 /tools/bootstrp | |
parent | 0c442393eda00965c5de3dc54ffa53be1c1d28a7 (diff) |
#65293# bugfix for windows
Diffstat (limited to 'tools/bootstrp')
-rw-r--r-- | tools/bootstrp/rscdep.cxx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx index de280fbc833f..91cfcb248d3a 100644 --- a/tools/bootstrp/rscdep.cxx +++ b/tools/bootstrp/rscdep.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rscdep.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: vg $ $Date: 2002-01-25 14:50:04 $ + * last change: $Author: vg $ $Date: 2002-01-29 14:58:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,11 +69,13 @@ #ifdef WNT #define __STDC__ 1 +#include <string.h> +char *optarg = NULL; +int optind = 1; +int optopt = 0; +int opterr = 0; #endif -/* Heiner Rechtien: poor man's getopt() */ -int simple_getopt(int argc, char *argv[], const char *optstring); - //, const struct option *longopts, int longind); #ifdef UNX #include <unistd.h> @@ -96,6 +98,9 @@ int simple_getopt(int argc, char *argv[], const char *optstring); #include "cppdep.hxx" +/* Heiner Rechtien: poor man's getopt() */ +int simple_getopt(int argc, char *argv[], const char *optstring); + class RscHrcDep : public CppDep { public: |