Add a portable implementation for IsDir(). dirent.d_type is not in POSIX and does not exist at least on Solaris.
Add a portable implementation for IsDir().
dirent.d_type is not in POSIX and does not exist at least on Solaris.

git-svn-id: 0ffda7d774f6c198cce83cccffd1a5dbc3ab9f26@23 182aca00-e38e-11de-a668-6fd11605f5ce

stalkerg/pg_arman,stalkerg/pg_arman