This patch simply allows krb5 to build once again on Windows.
Windows does not have opendir() and friends. Instead Win32 API
functions must be used as described in
http://msdn.microsoft.com/library/en-us/dnucmg/html/UCMGch09.asp
ticket: new
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17992
dc483132-0cff-0310-8789-
dd5450dbe970
}
} else {
/* load all plugins in each directory */
- DIR *dir = NULL;
+#ifndef _WIN32
+ DIR *dir = NULL;
if (!err) {
dir = opendir(dirnames[i]);
if (dir != NULL) { closedir (dir); }
}
+#else
+ /* Until a Windows implementation of this code is implemented */
+ err = ENOENT;
+#endif /* _WIN32 */
}
if (err == ENOENT) {