This patch moves the return instruction outside the #ifndef. This avoids a compile error message to be displayed when TrouSerS is cross-compiled with MinGW.
Signed-off-by: Roberto Sassu <[email protected]> --- src/tcsd/tcsd_threads.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/tcsd/tcsd_threads.c b/src/tcsd/tcsd_threads.c index a061ab9..342dfbd 100644 --- a/src/tcsd/tcsd_threads.c +++ b/src/tcsd/tcsd_threads.c @@ -450,9 +450,8 @@ tcsd_thread_run(void *v) data->thread_id = THREAD_NULL; pthread_mutex_unlock(&(tm->lock)); pthread_exit(NULL); -#else - return NULL; #endif + return NULL; } #endif -- 1.7.2.2 ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
