changeset 843:2a653a83b91f

Only export sigset_t stuff if CYGPKG_POSIX_SIGNALS is enabled.
author bartv
date Wed, 19 Mar 2003 14:17:20 +0000
parents 3c5c8c8ffa30
children 644bd7de3fd3
files packages/compat/posix/current/ChangeLog packages/compat/posix/current/include/export.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/compat/posix/current/ChangeLog
+++ b/packages/compat/posix/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-13  Bart Veer  <bartv@ecoscentric.com>
+
+	* include/export.h: Only export signal-related functions if
+	CYGPKG_POSIX_SIGNALS is enabled.
+
 2003-03-04  Gary Thomas  <gary@mlbassoc.com>
 
 	* include/pthread.h: Rework prototypes to minimize namespace problems.
--- a/packages/compat/posix/current/include/export.h
+++ b/packages/compat/posix/current/include/export.h
@@ -97,6 +97,7 @@
 // manipulate the current threads signal mask. they are currently only
 // used in the implementation of cyg_pselect() in the FILEIO package.
 
+#ifdef CYGPKG_POSIX_SIGNALS
 __externC void cyg_pthread_sigmask_set (const sigset_t *set, sigset_t *oset);
 __externC cyg_bool cyg_posix_sigpending(void);
 __externC void cyg_posix_deliver_signals(const sigset_t *mask);
@@ -106,6 +107,7 @@
 #define CYG_POSIX_SIGPENDING() cyg_posix_sigpending()
 
 #define CYG_POSIX_DELIVER_SIGNALS cyg_posix_deliver_signals
+#endif
 
 //-----------------------------------------------------------------------------
 #endif // ifndef CYGONCE_POSIX_EXPORT_H