From 169e7986b37f16f367b8c35d64ba58e997a30dd8 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Mon, 17 Jan 2005 21:22:11 +0000 Subject: [PATCH] Use the right _readdir() version on Solaris. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1454 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/uio/stdio/stdio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sc2/src/sc2code/libs/uio/stdio/stdio.c b/sc2/src/sc2code/libs/uio/stdio/stdio.c index eafb93080..504367e0b 100644 --- a/sc2/src/sc2code/libs/uio/stdio/stdio.c +++ b/sc2/src/sc2code/libs/uio/stdio/stdio.c @@ -20,6 +20,10 @@ // The GPDir structures and functions are used for caching only. +#ifdef __svr4__ +# define _POSIX_PTHREAD_SEMANTICS + // For the POSIX variant of r_readdir() +#endif #include "./stdio.h"