aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2008-01-19 21:41:31 +0000
committerDavid Schultz <das@FreeBSD.org>2008-01-19 21:41:31 +0000
commit2d6d5e16042472622b230c90008993de36ebe079 (patch)
tree0a567a6e28089018a394eb0377578cffd64c7733
parent684217d8896437b642fa8a6020bb5318b2c330ed (diff)
downloadsrc-2d6d5e16042472622b230c90008993de36ebe079.tar.gz
src-2d6d5e16042472622b230c90008993de36ebe079.zip
Correct the visibility macro surrounding SIGSYS.
Submitted by: Andriy Gapon <avg@icyb.net.ua>
Notes
Notes: svn path=/head/; revision=175502
-rw-r--r--sys/sys/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index fd4384d00ce4..e90b107d170d 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -72,7 +72,7 @@
#define SIGBUS 10 /* bus error */
#endif
#define SIGSEGV 11 /* segmentation violation */
-#if __BSD_VISIBLE
+#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
#define SIGSYS 12 /* non-existent system call invoked */
#endif
#if __POSIX_VISIBLE || __XSI_VISIBLE