Description
This happened when I was trying to write an extension to PERL with the aid of SWIG. I came across two issues as mentioned below.
1. The struct name DIR declared in axutil_dir_windows.h collides with the DIR struct declared in dirent.h that comes with the standard PERL installation.
2. I get the following compile error as a result of the functions opendir, closedir, readdir and rewinddir declared in axutil_dir_windows.h.
error C2059: syntax error : '('.
This should also be due to name conflicts as the file "win32iop.h" that comes with the standard PERL installation has a set of macros defined with similar names.