Index: source/tools/icuinfo/testplug.c |
diff --git a/source/tools/icuinfo/testplug.c b/source/tools/icuinfo/testplug.c |
index 73e85881097473c4ed3bf8a26ce80b8dec1b2e04..0149badbde1d1b441b50830eed785ea0b7128ebe 100644 |
--- a/source/tools/icuinfo/testplug.c |
+++ b/source/tools/icuinfo/testplug.c |
@@ -1,7 +1,7 @@ |
/* |
****************************************************************************** |
* |
-* Copyright (C) 2009-2010, International Business Machines |
+* Copyright (C) 2009-2015, International Business Machines |
* Corporation and others. All Rights Reserved. |
* |
****************************************************************************** |
@@ -18,6 +18,10 @@ |
*/ |
#include "unicode/icuplug.h" |
+ |
+#if UCONFIG_ENABLE_PLUGINS |
+/* This file isn't usually compiled except on Windows. Guard it. */ |
+ |
#include <stdio.h> /* for fprintf */ |
#include <stdlib.h> /* for malloc */ |
#include "udbgutil.h" |
@@ -202,3 +206,4 @@ UPlugTokenReturn U_EXPORT2 debugMemoryPlugin ( |
return UPLUG_TOKEN; |
} |
+#endif |