summaryrefslogtreecommitdiff
path: root/src/htslib.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-09-14 09:29:44 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-09-14 09:29:44 +0000
commit011ba96d5326c78f124da0373a3d27eb1f674ff5 (patch)
tree251e209e0a82af209fdfe8791ef1a9d6a8d27124 /src/htslib.h
parentd7cc6f5b55a0d005ffc669810f7671002c5d63dc (diff)
Removed dead code (_WIN32_WCE)
Diffstat (limited to 'src/htslib.h')
-rw-r--r--src/htslib.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/htslib.h b/src/htslib.h
index b74621d..52d63e1 100644
--- a/src/htslib.h
+++ b/src/htslib.h
@@ -688,31 +688,6 @@ HTS_STATIC int compare_mime(httrackp * opt, const char *mime, const char *file,
#endif
-#ifdef _WIN32_WCE_XXC
-extern char cwd[MAX_PATH + 1];
-HTS_STATIC char *getcwd_ce(char *buffer, int maxlen) {
- TCHAR fileUnc[MAX_PATH + 1];
- char *plast;
-
- if (cwd[0] == 0) {
- GetModuleFileName(NULL, fileUnc, MAX_PATH);
- WideCharToMultiByte(CP_ACP, 0, fileUnc, -1, cwd, MAX_PATH, NULL, NULL);
- plast = strrchr(cwd, '\\');
- if (plast)
- *plast = 0;
- /* Special trick to keep start menu clean... */
- if (_stricmp(cwd, "\\windows\\start menu") == 0)
- strcpy(cwd, "\\Apps");
- }
- if (buffer)
- strncpy(buffer, cwd, maxlen);
- return cwd;
-}
-
-#undef getcwd
-#define getcwd getcwd_ce
-#endif
-
/* dirent() compatibility */
#ifdef _WIN32
#define HTS_DIRENT_SIZE 256