aboutsummaryrefslogtreecommitdiff
path: root/relativepath.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-11 16:40:24 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-11 16:40:24 +0000
commit3cc282dcc13295ec6e0cca8ffcf9f78784f09733 (patch)
tree5e62776207373ed1f2428c4745cc7d49637f1cc7 /relativepath.c
parentd072e37faab2a7253f14165c38c7220dfc3f7685 (diff)
got the lib to compile on MinGW by ifdeffing out the failing objects. These could be ported pretty easily since it's just a question of the open() function, I think. But it's really old, funky code, so why?
svn path=/trunk/externals/moonlib/; revision=8005
Diffstat (limited to 'relativepath.c')
-rw-r--r--relativepath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/relativepath.c b/relativepath.c
index f599222..3df0051 100644
--- a/relativepath.c
+++ b/relativepath.c
@@ -1,3 +1,4 @@
+#ifndef _WIN32
/*
Copyright (C) 2002 Antoine Rousseau
@@ -144,3 +145,4 @@ void relativepath_setup(void)
class_addsymbol(relativepath_class, relativepath_symbol);
}
+#endif /* NOT _WIN32 */