summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorRichard PALO <richard@NetBSD.org>2015-11-17 07:02:07 +0100
committerAdam Jackson <ajax@redhat.com>2015-11-30 11:51:22 -0500
commite6b106715f24112d1dc7a84c6e37df4b5debb2d0 (patch)
treeb8c7ef0cb2b1207c1ad6bb6c333209fb3e2ae54e /xkb
parent44d0fd435a4eaf45e252b4f00409152a6d599dfc (diff)
Replace 'sun' with '__sun'
Globally replace #ifdef and #if defined usage of 'sun' with '__sun' such that strict ISO compiler modes such as -ansi or -std=c99 can be used. Signed-off-by: Richard PALO <richard@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkb')
-rw-r--r--xkb/xkbInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c
index 30e10bd15..9c772f549 100644
--- a/xkb/xkbInit.c
+++ b/xkb/xkbInit.c
@@ -60,7 +60,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define LED_NUM 5
#define PHYS_LEDS 0x1f
#else
-#ifdef sun
+#ifdef __sun
#define LED_NUM 1
#define LED_SCROLL 2
#define LED_COMPOSE 3