Commit e5eac650 authored by Chun-wei Fan's avatar Chun-wei Fan

peas-dirs.c: Fix building on Visual Studio

libloadersapi.h should not have been included directly, just include
windows.h with WIN32_LEAN_AND_MEAN defined.
parent 1656eb41
Pipeline #220055 passed with stages
in 5 minutes and 17 seconds
......@@ -32,7 +32,8 @@
#ifdef G_OS_WIN32
// inspired by gobject-introspection...
#include <libloaderapi.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
static HMODULE libpeas_dll = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment