summaryrefslogtreecommitdiff
path: root/Xthreads.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-06-14 09:33:16 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-06-15 08:09:36 -0700
commit5aaec3c7a583354a07ec765327fd0edd6216981f (patch)
treeec16c230c0b075c5f4ea6aa67387d51f7dd59f69 /Xthreads.h
parent5bad478221c54c0dbf682ef2569f6ca5ac050049 (diff)
downloadxorg-proto-x11proto-5aaec3c7a583354a07ec765327fd0edd6216981f.tar.gz
Drop support for SunOS 4 and Solaris releases older than 2.5 (1995)
Includes changing remaining sun ifdef's to check for standard-conformant / non-namespace-polluting #ifdef __sun instead of older #ifdef sun. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'Xthreads.h')
-rw-r--r--Xthreads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xthreads.h b/Xthreads.h
index 7381815..3d44208 100644
--- a/Xthreads.h
+++ b/Xthreads.h
@@ -77,7 +77,7 @@ extern xthread_t (*_x11_thr_self)();
# define xthread_yield() thr_yield()
# define xthread_exit(v) thr_exit(v)
# define xthread_key_create(kp,d) thr_keycreate(kp,d)
-# ifdef sun
+# ifdef __sun
# define xthread_key_delete(k) 0
# else
# define xthread_key_delete(k) thr_keydelete(k)