Changeset be22768 in rtems


Ignore:
Timestamp:
Oct 28, 1999, 2:50:43 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b8d9f41
Parents:
bb43e079
Message:

Added use of rtems rather than LINUX for RTEMS configuration.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/libnetworking/rtems_webserver/Makefile.in

    rbb43e079 rbe22768  
    3636#
    3737
    38 DEFINES += -DWEBS -DUEMF -DOS="LINUX" -DLINUX
     38DEFINES += -DWEBS -DUEMF -DOS="RTEMS"
    3939CPPFLAGS +=
    4040CFLAGS +=
  • c/src/libnetworking/rtems_webserver/misc.c

    rbb43e079 rbe22768  
    6060/*
    6161 *      "basename" returns a pointer to the last component of a pathname
    62  *  LINUX and LynxOS have their own basename function
    63  */
    64 
    65 #if ! LINUX & ! LYNX
     62 *  LINUX, RTEMS, and LynxOS have their own basename function
     63 */
     64
     65#if ! LINUX & ! __rtems__ & ! LYNX
    6666char_t *basename(char_t* name)
    6767{
     
    8484        }
    8585}
    86 #endif /* ! LINUX & ! LYNX */
     86#endif /* ! LINUX && ! __rtems__ && ! LYNX */
    8787
    8888/******************************************************************************/
  • c/src/libnetworking/rtems_webserver/uemf.h

    rbb43e079 rbe22768  
    4848#endif
    4949
    50 #if LINUX
     50#if LINUX || __rtems__
    5151        #include        <sys/types.h>
    5252        #include        <sys/stat.h>
     
    514514/******************************* Per O/S Defines ******************************/
    515515
    516 #if VXW486 || LINUX || LYNX
     516#if VXW486 || LINUX || __rtems__ || LYNX
    517517#ifndef O_BINARY
    518518#define O_BINARY                0
     
    570570#endif /* BALLOC */
    571571
    572 #if !LINUX
     572#if !LINUX && !__rtems__
    573573extern char_t*  basename(char_t* name);
    574574#endif
  • cpukit/httpd/Makefile.in

    rbb43e079 rbe22768  
    3636#
    3737
    38 DEFINES += -DWEBS -DUEMF -DOS="LINUX" -DLINUX
     38DEFINES += -DWEBS -DUEMF -DOS="RTEMS"
    3939CPPFLAGS +=
    4040CFLAGS +=
  • cpukit/httpd/misc.c

    rbb43e079 rbe22768  
    6060/*
    6161 *      "basename" returns a pointer to the last component of a pathname
    62  *  LINUX and LynxOS have their own basename function
    63  */
    64 
    65 #if ! LINUX & ! LYNX
     62 *  LINUX, RTEMS, and LynxOS have their own basename function
     63 */
     64
     65#if ! LINUX & ! __rtems__ & ! LYNX
    6666char_t *basename(char_t* name)
    6767{
     
    8484        }
    8585}
    86 #endif /* ! LINUX & ! LYNX */
     86#endif /* ! LINUX && ! __rtems__ && ! LYNX */
    8787
    8888/******************************************************************************/
  • cpukit/httpd/uemf.h

    rbb43e079 rbe22768  
    4848#endif
    4949
    50 #if LINUX
     50#if LINUX || __rtems__
    5151        #include        <sys/types.h>
    5252        #include        <sys/stat.h>
     
    514514/******************************* Per O/S Defines ******************************/
    515515
    516 #if VXW486 || LINUX || LYNX
     516#if VXW486 || LINUX || __rtems__ || LYNX
    517517#ifndef O_BINARY
    518518#define O_BINARY                0
     
    570570#endif /* BALLOC */
    571571
    572 #if !LINUX
     572#if !LINUX && !__rtems__
    573573extern char_t*  basename(char_t* name);
    574574#endif
Note: See TracChangeset for help on using the changeset viewer.