diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2009-09-01 18:22:23 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2009-09-01 18:22:23 +0000 |
commit | 22a829cb1907c79bfe68ad91314a1dddbf1beeb3 (patch) | |
tree | 510dcb1af070f5eac5b1192d9fffad2f3e431958 /pd/src/s_inter.c | |
parent | 1cc6aed4bfdd84b06d418bc5198a0380479e639a (diff) |
merge in HC's new tcl code and start taking patches
svn path=/trunk/; revision=12166
Diffstat (limited to 'pd/src/s_inter.c')
-rw-r--r-- | pd/src/s_inter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c index 1f17ce70..1549f9de 100644 --- a/pd/src/s_inter.c +++ b/pd/src/s_inter.c @@ -272,7 +272,7 @@ void sys_setalarm(int microsec) #endif -#ifdef __linux +#ifdef __linux__ #if defined(_POSIX_PRIORITY_SCHEDULING) || defined(_POSIX_MEMLOCK) #include <sched.h> @@ -1063,12 +1063,12 @@ int sys_startgui(const char *libdir) if (stat(wish_paths[i], &statbuf) >= 0) break; } - sprintf(cmdbuf,"\"%s\" %s/tcl/pd.tcl %d\n", wish_paths[i], + sprintf(cmdbuf,"\"%s\" %s/tcl/pd-gui.tcl %d\n", wish_paths[i], libdir, portno); #else sprintf(cmdbuf, "TCL_LIBRARY=\"%s/lib/tcl/library\" TK_LIBRARY=\"%s/lib/tk/library\" \ - wish \"%s/tcl/pd.tcl\" %d\n", + wish \"%s/tcl/pd-gui.tcl\" %d\n", libdir, libdir, libdir, portno); #endif sys_guicmd = cmdbuf; @@ -1116,7 +1116,7 @@ int sys_startgui(const char *libdir) strcpy(scriptbuf, "\""); strcat(scriptbuf, libdir); - strcat(scriptbuf, "/" PDTCLDIR "pd.tcl\""); + strcat(scriptbuf, "/" PDTCLDIR "pd-gui.tcl\""); sys_bashfilename(scriptbuf, scriptbuf); sprintf(portbuf, "%d", portno); |