The Pascal compiler company
feature_rewinddir can be used to determine if the current platform supports the built-in procedure rewinddir.
if supported(feature_rewinddir) then rewinddir;
Operating Systems: All Standard Pascal: No