summaryrefslogtreecommitdiffstats
path: root/cpukit/httpd/misc.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-28 14:50:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-28 14:50:43 +0000
commitbe22768407aef504d7376cdda3e5cee9643f4503 (patch)
tree48c2a2a0afe54938071ccd767800475705b49927 /cpukit/httpd/misc.c
parentMore changes. (diff)
downloadrtems-be22768407aef504d7376cdda3e5cee9643f4503.tar.bz2
Added use of __rtems__ rather than LINUX for RTEMS configuration.
Diffstat (limited to 'cpukit/httpd/misc.c')
-rw-r--r--cpukit/httpd/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/httpd/misc.c b/cpukit/httpd/misc.c
index 5fbe63329c..88b65a2008 100644
--- a/cpukit/httpd/misc.c
+++ b/cpukit/httpd/misc.c
@@ -59,10 +59,10 @@ static void put_ulong(strbuf_t *buf, unsigned long int value, int base,
/************************************ Code ************************************/
/*
* "basename" returns a pointer to the last component of a pathname
- * LINUX and LynxOS have their own basename function
+ * LINUX, RTEMS, and LynxOS have their own basename function
*/
-#if ! LINUX & ! LYNX
+#if ! LINUX & ! __rtems__ & ! LYNX
char_t *basename(char_t* name)
{
char_t *cp;
@@ -83,7 +83,7 @@ char_t *basename(char_t* name)
return ++cp;
}
}
-#endif /* ! LINUX & ! LYNX */
+#endif /* ! LINUX && ! __rtems__ && ! LYNX */
/******************************************************************************/
/*