aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include/Xalloca.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 22:03:39 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-01 15:19:14 +0100
commit8c1a21b4568f50a1fbbe014ee744d7130754d2ed (patch)
treea6b8d62ef726871ff2af619a68bb4873536a76d9 /nx-X11/include/Xalloca.h
parent5c3776d251ec0fb9cddf1d0ac641754582dbc4d7 (diff)
downloadnx-libs-8c1a21b4568f50a1fbbe014ee744d7130754d2ed.tar.gz
nx-libs-8c1a21b4568f50a1fbbe014ee744d7130754d2ed.tar.bz2
nx-libs-8c1a21b4568f50a1fbbe014ee744d7130754d2ed.zip
drop platform support: unifdef sgi.
Relates to ArcticaProject/nx-libs#275.
Diffstat (limited to 'nx-X11/include/Xalloca.h')
-rw-r--r--nx-X11/include/Xalloca.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/nx-X11/include/Xalloca.h b/nx-X11/include/Xalloca.h
index 348a7bc2d..ef1bf7b96 100644
--- a/nx-X11/include/Xalloca.h
+++ b/nx-X11/include/Xalloca.h
@@ -109,14 +109,12 @@ from The Open Group.
* decide that you don't want to use alloca, you might want to fix it here.
*/
/* alloca might be a macro taking one arg (hi, Sun!), so give it one. */
-# ifndef __sgi /* IRIX 5/6 has definition */
# define __Xnullarg /* as nothing */
# ifndef X_NOT_STDC_ENV
extern void *alloca(__Xnullarg);
# else
extern char *alloca(__Xnullarg);
# endif
-# endif /* __sgi */
# define ALLOCATE_LOCAL(size) alloca((int)(size))
# endif /* who does alloca */
# endif /* NCR */