2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-03 19:00:51 +00:00

Don't include <cwchar> if not building with wchar

This commit is contained in:
Jay Berkenbilt 2020-04-06 11:20:11 -04:00
parent aec45e2c4f
commit c996f4ac33

View File

@ -21,14 +21,16 @@
#include <string.h>
#include <fcntl.h>
#include <memory>
#include <cwchar>
#ifndef QPDF_NO_WCHAR_T
# include <cwchar>
#endif
#ifdef _WIN32
#include <windows.h>
#include <direct.h>
#include <io.h>
# include <windows.h>
# include <direct.h>
# include <io.h>
#else
#include <unistd.h>
#include <sys/stat.h>
# include <unistd.h>
# include <sys/stat.h>
#endif
// First element is 128