-
I wish to use the avisynth_C interface, but do not desire to link with declspec with it's side effect of preventing program execution if avisynth.dll is not available.
I have created a patch to allow avisynth_C.h to be used without declspec(dllimport) linking and provide some new inline functions for expediting the use of the library through the LoadLibrary, GetProcAddress, and FreeLibrary...
2009-10-21 23:52:51 UTC in Avisynth rev. 2
-
ran via vm: ubuntu x64 guest on win xp x64 host
(if that makes a difference to the results)
2009-04-24 23:28:01 UTC in mubench
-
yes i did state that this was 'dirty' fix... in no means ideal...
i'm not familiar enough with the mingw runtime building system to be able to patch that directly to add it in there to be more clean.
one such documentation for strtok_r can be found at
http://www.linuxhowtos.org/manpages/3p/strtok_r.htm
it's a reentrant/thread-safe version of strtok_r which all gnu systems and even cygwin...
2009-03-09 17:47:08 UTC in MinGW - Minimalist GNU for Windows
-
just requesting to add strtok_r to the library as mingw is the only compiler i've seen as of yet that doesn't have it...
i've been manually patching builds using the attached c file, similar to the following
gcc -c -o strtok_r.o strtok_r.c
ar r libmingwex.a strtok_r.o
and then add in the definition to string.h
_CRTIMP char* __cdecl __MINGW_NOTHROW strtok_r (char*, const char*, char **);.
2009-03-09 00:16:57 UTC in MinGW - Minimalist GNU for Windows