Commit Graph

37 Commits

Author SHA1 Message Date
08c6afcba2 Патч для GCC < 4.8 2019-10-05 13:38:11 +03:00
093a2efc08 Merge branch 'wip-cpp' 2019-10-05 11:24:04 +03:00
4a1a936e64 CMake and pkg-config support 2019-10-05 08:17:36 +03:00
Gregory Pakosz
f3a86fdf17 Merge pull request #16 from marcIhm/master
fixed NetBSD support
2019-01-07 10:49:40 +01:00
Jan Beich
4414eb5812 fixed NetBSD support
- assume NetBSD >= 8.0
- for NetBSD < 8.0, define WAI_USE_PROC_SELF_EXE
2019-01-07 10:47:08 +01:00
Gregory Pakosz
e64e8b379b dual licensed under both the WTFPLv2 and MIT licenses 2018-12-30 23:05:43 +01:00
Gregory Pakosz
73eb7856dd enabled and fixed -Wshadow and -Wuseless-cast offences 2018-11-06 14:57:03 +01:00
Gregory Pakosz
de7a01d322 added a C++ API 2018-09-07 11:46:17 +02:00
Gregory Pakosz
6d73e7898e
Merge pull request #14 from jcelerier/master
linux: sometimes <limits.h> does not define PATH_MAX, use <linux/limits.h> instead
2018-09-07 11:27:16 +02:00
Jean-Michaël Celerier
b5695ce9f0 linux: sometimes <limits.h> does not define PATH_MAX
Hence we include <linux/limits.h> in this case
2018-09-07 11:22:09 +02:00
Gregory Pakosz
0901f76b60 removed gittip mention from README.md 2018-02-27 23:12:11 +01:00
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
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