summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 13:10:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 13:10:09 (GMT)
commit58073016b87e2cbe4d4efaddbeacd450faee4238 (patch)
tree8a428c23c89df13b9d208f9c8b7194e6a8a331de /unix/tclUnixFile.c
parent4b1cefb885becf8ebf426957a0655d16c53fb0cf (diff)
parente2532e668c6fa0acfe8a26c27b75d1d068e862a5 (diff)
downloadtcl-58073016b87e2cbe4d4efaddbeacd450faee4238.zip
tcl-58073016b87e2cbe4d4efaddbeacd450faee4238.tar.gz
tcl-58073016b87e2cbe4d4efaddbeacd450faee4238.tar.bz2
Move cpuid testcase from win-specific to generic tests
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r--unix/tclUnixFile.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c
index a4426b7..1c456a0 100644
--- a/unix/tclUnixFile.c
+++ b/unix/tclUnixFile.c
@@ -44,14 +44,6 @@ TclpFindExecutable(
int length;
char buf[PATH_MAX * TCL_UTF_MAX + 1];
char name[PATH_MAX * TCL_UTF_MAX + 1];
-
- /* Make some symbols available without including <windows.h> */
-# define CP_UTF8 65001
- DLLIMPORT extern int cygwin_conv_to_full_posix_path(const char *, char *);
- DLLIMPORT extern __stdcall int GetModuleFileNameW(void *, const char *, int);
- DLLIMPORT extern __stdcall int WideCharToMultiByte(int, int, const char *, int,
- const char *, int, const char *, const char *);
-
GetModuleFileNameW(NULL, name, PATH_MAX);
WideCharToMultiByte(CP_UTF8, 0, name, -1, buf, PATH_MAX, NULL, NULL);
cygwin_conv_to_full_posix_path(buf, name);