aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/GetDflt.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 18:41:52 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-01 15:19:13 +0100
commit0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8 (patch)
tree00a7164ebcce24a946e0c9501d2bfde2622069da /nx-X11/lib/X11/GetDflt.c
parentf22e873e6f141b98bfc57a5443c11a9d6b8645c3 (diff)
downloadnx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.gz
nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.bz2
nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.zip
drop platform support: unifdef __UNIXOS2__.
Fixes ArcticaProject/nx-libs#271.
Diffstat (limited to 'nx-X11/lib/X11/GetDflt.c')
-rw-r--r--nx-X11/lib/X11/GetDflt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/nx-X11/lib/X11/GetDflt.c b/nx-X11/lib/X11/GetDflt.c
index f2098dff3..c2cc1da47 100644
--- a/nx-X11/lib/X11/GetDflt.c
+++ b/nx-X11/lib/X11/GetDflt.c
@@ -184,10 +184,6 @@ XGetDefault(
#ifdef WIN32
char *progname2;
#endif
-#ifdef __UNIXOS2__
- char *progname2;
- char *dotpos;
-#endif
/*
* strip path off of program name (XXX - this is OS specific)
@@ -198,13 +194,6 @@ XGetDefault(
if (progname2 && (!progname || progname < progname2))
progname = progname2;
#endif
-#ifdef __UNIXOS2__ /* Very similar to WIN32 */
- progname2 = strrchr (prog, '\\');
- if (progname2 && (!progname || progname < progname2))
- progname = progname2;
- dotpos = strrchr (prog, '.');
- if (dotpos && (dotpos>progname2)) *dotpos='\0';
-#endif /* We take out the .exe suffix */
if (progname)
progname++;