Add include file shlwapi.h

This commit is contained in:
Holger Vogt 2022-10-31 12:46:41 +01:00
parent 494f56ce6c
commit e5a7992db2
1 changed files with 3 additions and 2 deletions

View File

@ -33,6 +33,7 @@
#undef BOOLEAN
#include <windows.h>
#include <shlwapi.h>
#define OPENLIB(path) LoadLibrary(path)
#define GET_SYM(lib, sym) ((void *)GetProcAddress(lib, sym))
char *dlerror(void);
@ -99,7 +100,7 @@ static char *resolve_path(const char *name) {
#endif
return (char *)NULL;
}
} /* end of function inp_pathresolve */
static char *resolve_input_path(const char *name) {
/* if name is an absolute path name,
@ -187,7 +188,7 @@ static size_t calc_osdi_instance_data_off(const OsdiDescriptor *descr) {
(OsdiObjectFile) { .num_entries = -1 }
#define EMPTY_OBJECT \
(OsdiObjectFile) {}
(OsdiObjectFile) {NULL, 0}
#define ERR_AND_RET \
error = dlerror(); \