Changed leedll() prototype for non-windows systems
This commit is contained in:
parent
21085b5863
commit
506deee4ab
|
@ -165,9 +165,13 @@ void dll_func2()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
int leedll(struct _finddata_t fichero_dll)
|
int leedll(struct _finddata_t fichero_dll)
|
||||||
|
#else
|
||||||
|
int leedll()
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -262,6 +266,9 @@ int leedll(struct _finddata_t fichero_dll)
|
||||||
|
|
||||||
int close_dll(int numero)
|
int close_dll(int numero)
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
FreeDLL(hDLL[numero]);
|
FreeDLL(hDLL[numero]);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue