diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 14:28:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 15:33:49 +0100 |
commit | 46e399d9d656aef8e6b49fab2451fc791ffa2889 (patch) | |
tree | 741d363385324dd9fbea73f6625f70e2d6f142da /soltools/javadep | |
parent | e0998ebbaa8e0e962b3096e11071f4b5755e8fbb (diff) |
only used on windows, so only compile on windows
Diffstat (limited to 'soltools/javadep')
-rw-r--r-- | soltools/javadep/javadep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/soltools/javadep/javadep.c b/soltools/javadep/javadep.c index 36d80608ed2d..00a08f3cb9ae 100644 --- a/soltools/javadep/javadep.c +++ b/soltools/javadep/javadep.c @@ -735,6 +735,7 @@ usage() pprogname); } +#ifdef WNT /* my very simple minded implementation of getopt() * it's to sad that getopt() is not available everywhere * note: this is not a full POSIX conforming getopt() @@ -772,6 +773,7 @@ int simple_getopt(char *pargv[], const char *poptstring) } return -1; } +#endif int CDECL main(int argc, char *argv[]) |