summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/rtems_webserver/uemf.h
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 /c/src/libnetworking/rtems_webserver/uemf.h
parentMore changes. (diff)
downloadrtems-be22768407aef504d7376cdda3e5cee9643f4503.tar.bz2
Added use of __rtems__ rather than LINUX for RTEMS configuration.
Diffstat (limited to '')
-rw-r--r--c/src/libnetworking/rtems_webserver/uemf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/libnetworking/rtems_webserver/uemf.h b/c/src/libnetworking/rtems_webserver/uemf.h
index 1c0d348256..31421a1af4 100644
--- a/c/src/libnetworking/rtems_webserver/uemf.h
+++ b/c/src/libnetworking/rtems_webserver/uemf.h
@@ -47,7 +47,7 @@
#include <stdio.h>
#endif
-#if LINUX
+#if LINUX || __rtems__
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
@@ -513,7 +513,7 @@ typedef int (*socketAccept_t)(int sid, char *ipaddr, int port);
/******************************* Per O/S Defines ******************************/
-#if VXW486 || LINUX || LYNX
+#if VXW486 || LINUX || __rtems__ || LYNX
#ifndef O_BINARY
#define O_BINARY 0
#endif
@@ -569,7 +569,7 @@ extern char *bstrdupA(B_ARGS_DEC, char *s);
#endif /* UNICODE */
#endif /* BALLOC */
-#if !LINUX
+#if !LINUX && !__rtems__
extern char_t* basename(char_t* name);
#endif