Commit Graph

15 Commits

Author SHA1 Message Date
Thomas Willems
f3c700e059 added support for SunOS 2017-10-23 12:35:59 +02:00
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
Jan Beich
6eb1195111 Add support for DragonFly, GNU/kFreeBSD and NetBSD 2016-10-16 20:35:33 +00: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
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
783a033c9e made library, examples and Makefile MINGW64 friendly 2016-01-28 09:21:27 +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