summaryrefslogtreecommitdiffstats
path: root/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'path.c')
-rw-r--r--path.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/path.c b/path.c
index b6b87d4e9b..785c48eec9 100644
--- a/path.c
+++ b/path.c
@@ -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