diff options
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(); } |