libragephoto: CMake improvements and header include changes

This commit is contained in:
Syping 2024-12-08 22:29:00 +01:00
parent 73765abb0d
commit ce0cb68fa5
7 changed files with 540 additions and 16 deletions

View file

@ -34,8 +34,13 @@
#if defined(UNICODE_ICONV)
#include <iconv.h>
#elif defined(UNICODE_WINCVT)
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <stringapiset.h>
#endif
/* RAGEPHOTO LIBRARY GLOBALS */

View file

@ -38,8 +38,13 @@
#elif defined UNICODE_ICONV
#include <iconv.h>
#elif defined UNICODE_WINCVT
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <stringapiset.h>
#endif
/* CLASSIC RAGEPHOTO TYPEDEF */