Commit 8740b380fe31a51b0472d1e4b902cfc9bce21c3a
Committed by
Jay Berkenbilt
1 parent
1e831cb9
Make windows includes lowercase (fixes #123)
For cross compiling.
Showing
3 changed files
with
4 additions
and
4 deletions
examples/pdf-mod-info.cc
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | #include <stdlib.h> | 10 | #include <stdlib.h> |
| 11 | #include <stdio.h> | 11 | #include <stdio.h> |
| 12 | #ifdef _WIN32 | 12 | #ifdef _WIN32 |
| 13 | -#include <Windows.h> | 13 | +#include <windows.h> |
| 14 | #include <direct.h> | 14 | #include <direct.h> |
| 15 | #include <io.h> | 15 | #include <io.h> |
| 16 | #else | 16 | #else |
libqpdf/QUtil.cc
| @@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
| 19 | #include <string.h> | 19 | #include <string.h> |
| 20 | #include <fcntl.h> | 20 | #include <fcntl.h> |
| 21 | #ifdef _WIN32 | 21 | #ifdef _WIN32 |
| 22 | -#include <Windows.h> | 22 | +#include <windows.h> |
| 23 | #include <direct.h> | 23 | #include <direct.h> |
| 24 | #include <io.h> | 24 | #include <io.h> |
| 25 | #else | 25 | #else |
libqpdf/SecureRandomDataProvider.cc
| @@ -3,11 +3,11 @@ | @@ -3,11 +3,11 @@ | ||
| 3 | #include <qpdf/qpdf-config.h> | 3 | #include <qpdf/qpdf-config.h> |
| 4 | #include <qpdf/QUtil.hh> | 4 | #include <qpdf/QUtil.hh> |
| 5 | #ifdef _WIN32 | 5 | #ifdef _WIN32 |
| 6 | -# include <Windows.h> | 6 | +# include <windows.h> |
| 7 | # include <direct.h> | 7 | # include <direct.h> |
| 8 | # include <io.h> | 8 | # include <io.h> |
| 9 | # ifndef SKIP_OS_SECURE_RANDOM | 9 | # ifndef SKIP_OS_SECURE_RANDOM |
| 10 | -# include <Wincrypt.h> | 10 | +# include <wincrypt.h> |
| 11 | # endif | 11 | # endif |
| 12 | #endif | 12 | #endif |
| 13 | 13 |