diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-03 12:31:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-03 12:31:19 (GMT) |
commit | b9ecc426358d3737357f0460caee4eae5be61a3a (patch) | |
tree | 1af98744597d706e888e17d56f9a96c61450f14d /unix/tclUnixFile.c | |
parent | 0d066cf5f9286f6ecb836a4c131cdd3d70b76734 (diff) | |
parent | f2d051b8afa1a1d9acf943607988e4c911ed2d3c (diff) | |
download | tcl-b9ecc426358d3737357f0460caee4eae5be61a3a.zip tcl-b9ecc426358d3737357f0460caee4eae5be61a3a.tar.gz tcl-b9ecc426358d3737357f0460caee4eae5be61a3a.tar.bz2 |
Move cpuid testcase from win-specific to generic tests
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r-- | unix/tclUnixFile.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index f428af7..edd0d2f 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); |