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
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-08 22:40:46 +0100
commitd12f9524138899e43deb1a70fb37c97559d8f64e (patch)
treee262f16b885408a54f632ba370bdb83b769727bd /nx-X11/lib/X11/GetDflt.c
parent86a6a340f06e7a735b92ca2923d2ebc6183de546 (diff)
downloadnx-libs-d12f9524138899e43deb1a70fb37c97559d8f64e.tar.gz
nx-libs-d12f9524138899e43deb1a70fb37c97559d8f64e.tar.bz2
nx-libs-d12f9524138899e43deb1a70fb37c97559d8f64e.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++;