diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-04-06 16:58:39 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-04-06 17:45:56 +0300 |
commit | e2fc1f640fdf473fdf8f1de6fd1212731b8ffa13 (patch) | |
tree | 11127d96adabf22894f4848bdd9bbda67d67542e /path.c | |
parent | b93ed278362185ff980e0ce8f4ab3029f8fe395f (diff) | |
download | mpv-e2fc1f640fdf473fdf8f1de6fd1212731b8ffa13.tar.bz2 mpv-e2fc1f640fdf473fdf8f1de6fd1212731b8ffa13.tar.xz |
build: remove OS/2 support
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -46,7 +46,6 @@ #include "talloc.h" -#include "osdep/osdep.h" #include "osdep/io.h" char *get_path(const char *filename){ @@ -82,25 +81,6 @@ char *get_path(const char *filename){ exedir[imax]='\0'; homedir = exedir; } -#elif defined(__OS2__) - { - PPIB ppib; - char path[260]; - - // Get process info blocks - DosGetInfoBlocks(NULL, &ppib); - - // Get full path of the executable - DosQueryModuleName(ppib->pib_hmte, sizeof( path ), path); - - // Truncate name part including last backslash - *strrchr(path, '\\') = 0; - - // Convert backslash to slash - _fnslashify(path); - - homedir = path; - } #else return NULL; #endif |