Commit Graph

25 Commits

Author SHA1 Message Date
Gregory Pakosz
08b7ee02a3 added missing #include <unistd.h> when compiling for Android 2017-05-10 11:11:26 +02:00
Gregory Pakosz
523c28a215 added support for Cygwin. Closes #8 2017-02-06 21:53:31 +01:00
Gregory Pakosz
a19c7531b2 Merge pull request #7 from jbeich/dragonfly
Unbreak on more BSDs
2016-10-22 21:01:12 +02:00
Jan Beich
6eb1195111 Add support for DragonFly, GNU/kFreeBSD and NetBSD 2016-10-16 20:35:33 +00:00
Gregory Pakosz
4127a3363d updated Android instructions 2016-10-09 17:12:47 +02:00
Gregory Pakosz
f9f1202c79 fixed double load/unload in example/example.library.c when building with MinGW (2) 2016-10-09 15:22:56 +02:00
Gregory Pakosz
923408c290 fixed _gnu-make/Makefile LDFLAGS position on the command line 2016-10-06 09:11:33 +02:00
Gregory Pakosz
3cf57f4a05 updated _win-vs14/.gitignore 2016-09-08 19:00:11 +02:00
Gregory Pakosz
ba75d51713 fixed off by 1 bug in getModulePath_ return value. Fixes #5
When passing -1 as input length, WideCharToMultiByte null-terminates
output which we do not want.
2016-09-08 18:57:48 +02:00
Gregory Pakosz
77ab6870d6 fixed getModulePath_ local buffer size incorrectly set to 1 for debugging purposes 2016-09-08 18:51:36 +02:00
Gregory Pakosz
574cea6708 fixed double load/unload in example/example.library.c when building with MinGW
case by both __GNUC__ and _WIN32 preprocessor definitions being defined at the
same time
2016-02-23 11:27:47 +01:00
Gregory Pakosz
73c56ffacc added support for FreeBSD. Closes #4. 2016-02-23 11:16:58 +01:00
Gregory Pakosz
8ad3792af0 fixed static analysis errors reported by Visual Studio 2015 2016-01-28 09:21:27 +01:00
Gregory Pakosz
7d47fc87f1 updated Visual Studio projects and solution to Visual Studio 2015 2016-01-28 09:21:27 +01:00
Gregory Pakosz
4d9e68c4b0 updated iOS Xcode project 2016-01-28 09:21:27 +01:00
Gregory Pakosz
783a033c9e made library, examples and Makefile MINGW64 friendly 2016-01-28 09:21:27 +01:00
Gregory Pakosz
cc8a01b8a7 removed unused length variable in dlerror() implementation for Windows in example/executable.c 2016-01-25 22:23:15 +01:00
Gregory Pakosz
8ddf72164b _DARWIN_C_SOURCE must be defined when compiling for Mac with -std=c99 2016-01-25 22:11:13 +01:00
Gregory Pakosz
7fca0bb95a changed _gnu-make/Makefile to compile with -std=c99 and use $(CXX) for linking C++ versions, fixes #3 2016-01-21 21:03:00 +01:00
Gregory Pakosz
9c53a0aae7 removed unused variable, fixes #2 2016-01-13 21:02:18 +01:00
Gregory Pakosz
d4275250d8 added GitHub URL in case the file spreads and people want to know upstream location 2016-01-12 23:53:21 +01:00
Gregory Pakosz
d0fc4161e8 fixed errors and warnings when building as C++ - fixes #1 2015-12-28 16:21:58 +01:00
Gregory Pakosz
946b114876 added support for Android M loading libraries straight from APK/ZIP files
Until https://code.google.com/p/android/issues/detail?id=193009 is fixed, the
only way to know the path of the library inside the APK/ZIP file is to explore
the ZIP content.

However, there is no need to read the ZIP central directory. We can scan
backwards from the mapped offset until we find the local file header.
2015-12-14 00:05:09 +01:00
Gregory Pakosz
e03e0adfed removed incorrect casts to DWORD in WideCharToMultiByte calls 2015-04-02 13:58:12 +02:00
Gregory Pakosz
76a7a85f8b initial commit 2015-03-05 20:19:44 +01:00