Changed leedll() prototype for non-windows systems

This commit is contained in:
Víctor Román Archidona 2014-07-23 13:08:49 +02:00
parent 21085b5863
commit 506deee4ab

View file

@ -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;
} }