Skip to content

Commit

Permalink
Merge pull request #67 from larsewi/win32
Browse files Browse the repository at this point in the history
Fixed include guard for module loading on Windows
  • Loading branch information
larsewi authored May 3, 2024
2 parents d7d9252 + 3dfadfe commit aa1e9f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT([leech], [0.1.13], [https://github.com/larsewi/leech/issues], [leech],
AC_INIT([leech], [0.1.14], [https://github.com/larsewi/leech/issues], [leech],
[https://github.com/larsewi/leech])
AC_CONFIG_SRCDIR([lib/leech.h])

Expand Down
7 changes: 3 additions & 4 deletions lib/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@

#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif // HAVE_DLFCN_H

#if _WIN32
#elif defined(_WIN32)
#include <errhandlingapi.h>
#include <libloaderapi.h>
#endif // _WIN32
#endif

#include "logger.h"

Expand Down

0 comments on commit aa1e9f4

Please sign in to comment.