From 506deee4abf440805d244e2212972248d5263a4d79b83b6aa0b67b5f41f2d36b Mon Sep 17 00:00:00 2001 From: Victor Roman Archidona Date: Wed, 23 Jul 2014 13:08:49 +0200 Subject: [PATCH] Changed leedll() prototype for non-windows systems --- ediv/src/stub/modulos.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ediv/src/stub/modulos.c b/ediv/src/stub/modulos.c index f01831c..1e97445 100644 --- a/ediv/src/stub/modulos.c +++ b/ediv/src/stub/modulos.c @@ -165,9 +165,13 @@ void dll_func2() } +#ifdef _WIN32 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) { + #ifdef _WIN32 FreeDLL(hDLL[numero]); + #endif + return 0; }