Fresco/Prague/include/Prague config.hh,1.1,1.2

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Prague/include/Prague
In directory purcel:/tmp/cvs-serv27085/include/Prague

Modified Files:
	config.hh 
Log Message:
porting to darwin...

Index: config.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Prague/include/Prague/config.hh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- config.hh	6 Jun 2002 04:01:19 -0000	1.1
+++ config.hh	24 Jan 2003 19:17:09 -0000	1.2
@@ -13,7 +13,11 @@
 
 #ifndef HAVE_STRSIGNAL
 #include <signal.h>
+#  if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__))
+inline const char *strsignal(int signo) { return sys_siglist[signo];}
+#  else
 inline const char *strsignal(int signo) { return _sys_siglist[signo];}
+#  endif
 #elif NEED_DECLARATION_strsignal
 extern "C" const char *strsignal(int);
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.