summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-06-06 21:00:34 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-06-06 21:00:34 +0200
commitc92971182c73984955fc66a62d82bef3b083b271 (patch)
tree6af871c5d2c53930f7d62629aec54346576d6373 /src
parent7ff343817893038aec7a6116827f39d95e202d9a (diff)
downloadwolfbones-c92971182c73984955fc66a62d82bef3b083b271.tar.gz
wolfbones-c92971182c73984955fc66a62d82bef3b083b271.tar.bz2
fixed tcc (limits.h problems and linking dynamic libraries on Linux)
Diffstat (limited to 'src')
-rw-r--r--src/port/limits.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/port/limits.h b/src/port/limits.h
index c4116c1..68c7ebc 100644
--- a/src/port/limits.h
+++ b/src/port/limits.h
@@ -23,7 +23,11 @@
#ifdef __PCC__
#define PATH_MAX 255
#else
+#ifdef __TINYC__
+#define PATH_MAX 255
+#else
#include <limits.h>
-#endif
+#endif /* ifdef __TINYC__ */
+#endif /* ifdef __PCC__ */
#endif /* ifndef __LIMITS_H */