[Libreoffice-commits] .: soltools/javadep

Caolán McNamara caolan at kemper.freedesktop.org
Tue Oct 12 07:36:43 PDT 2010


 soltools/javadep/javadep.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 488f5b81a98009c7c3acc191af1395645b58350c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 12 14:28:37 2010 +0100

    only used on windows, so only compile on windows

diff --git a/soltools/javadep/javadep.c b/soltools/javadep/javadep.c
index 6d4e74b..28e12f1 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[])


More information about the Libreoffice-commits mailing list