cxong / tinydir

Lightweight, portable and easy to integrate C directory and file reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix small bug

GFdevelop opened this issue · comments

Tinydir disable pragma warning in all file that include this header, I have fixed the bug, update the repo:
before the line 41 add this:

# pragma warning(push)

before the last line ( last #endif ) add this;

#ifdef _MSC_VER
# pragma warning(pop)
#endif

Then pragma warning working in all files except tinydir.

commented

Thanks; can you submit a PR?

What is a PR?

I'm going to sleep and I have shout down my notebook, tomotrow I send a pull request, sorry.