aboutsummaryrefslogtreecommitdiff
path: root/pd/src/s_file.c
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-05-09 16:04:00 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-05-09 16:04:00 +0000
commit9c0e19a3be2288db79e2502e5fa450c3e20a668d (patch)
treeca97ce615e037a533304fc4660dcf372ca3b9cd6 /pd/src/s_file.c
parentef50dd62804d54af7da18d8bd8413c0dccd729b8 (diff)
This commit was generated by cvs2svn to compensate for changes in r610,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=611
Diffstat (limited to 'pd/src/s_file.c')
-rw-r--r--pd/src/s_file.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pd/src/s_file.c b/pd/src/s_file.c
index 32d2fcaa..27825d59 100644
--- a/pd/src/s_file.c
+++ b/pd/src/s_file.c
@@ -6,7 +6,8 @@
* this file contains file-handling routines.
*/
-#include "m_imp.h"
+#include "m_pd.h"
+#include "s_stuff.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -29,7 +30,7 @@ void sys_bashfilename(const char *from, char *to)
char c;
while (c = *from++)
{
-#ifdef NT
+#ifdef MSW
if (c == '/') c = '\\';
#endif
*to++ = c;
@@ -44,7 +45,7 @@ void sys_unbashfilename(const char *from, char *to)
char c;
while (c = *from++)
{
-#ifdef NT
+#ifdef MSW
if (c == '\\') c = '/';
#endif
*to++ = c;