diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2007-07-25 21:16:04 +0000 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2007-07-25 21:16:04 +0000 |
commit | c2713d458c5475f72463e0c171cc7ec8fb0534c7 (patch) | |
tree | 679984a0e2f7d5a2f6250072418b73a6a70b4df4 /src/net/sf/antcontrib/cpptasks/compiler | |
parent | 672f3b3f0955cb8b72be0441abf941b14a8d2439 (diff) | |
download | cpptasks-parallel-c2713d458c5475f72463e0c171cc7ec8fb0534c7.tar.gz cpptasks-parallel-c2713d458c5475f72463e0c171cc7ec8fb0534c7.tar.bz2 cpptasks-parallel-c2713d458c5475f72463e0c171cc7ec8fb0534c7.tar.xz cpptasks-parallel-c2713d458c5475f72463e0c171cc7ec8fb0534c7.zip |
Fixed NARPLUGIN-72
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/compiler')
-rw-r--r-- | src/net/sf/antcontrib/cpptasks/compiler/AbstractProcessor.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/compiler/AbstractProcessor.java b/src/net/sf/antcontrib/cpptasks/compiler/AbstractProcessor.java index d0cd77b..045f1ff 100644 --- a/src/net/sf/antcontrib/cpptasks/compiler/AbstractProcessor.java +++ b/src/net/sf/antcontrib/cpptasks/compiler/AbstractProcessor.java @@ -123,6 +123,13 @@ public abstract class AbstractProcessor implements Processor, Cloneable { String osName = getOSName(); return "Mac OS X".equals(osName); } +// BEGINFREEHEP + protected boolean isWindows() { + String osName = getOSName(); + return (osName != null) && osName.startsWith("Windows"); + } +// ENDFREEHEP + public final String toString() { return getIdentifier(); } |