summaryrefslogtreecommitdiffstats
path: root/src/util/support/plugins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/support/plugins.c')
-rw-r--r--src/util/support/plugins.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c
index 1c6c5338d..0945d3995 100644
--- a/src/util/support/plugins.c
+++ b/src/util/support/plugins.c
@@ -449,7 +449,8 @@ krb5int_open_plugin_dirs (const char * const *dirnames,
}
} else {
/* load all plugins in each directory */
- DIR *dir = NULL;
+#ifndef _WIN32
+ DIR *dir = NULL;
if (!err) {
dir = opendir(dirnames[i]);
@@ -495,6 +496,10 @@ krb5int_open_plugin_dirs (const char * const *dirnames,
if (dir != NULL) { closedir (dir); }
}
+#else
+ /* Until a Windows implementation of this code is implemented */
+ err = ENOENT;
+#endif /* _WIN32 */
}
if (err == ENOENT) {