Ignore:
Timestamp:
Jul 11, 2003, 1:39:47 PM (22 years ago)
Author:
bird
Message:

#434: no function redefinitions. TCPCALL not _System.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/utils.h

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r353 r354  
    33#define _UTILS_H_
    44
     5#ifndef TCPCALL
     6#define TCPCALL _System
     7#endif
     8
    59#ifdef TCPV40HDRS
    610
    7 /** @name tcpip40 function mappings.
    8  * @{ */
    9 #define lswap   tcpip40_lswap
    10 #define bswap   tcpip40_bswap
    11 #define rexec   tcpip40_rexec
    12 /* @} */
    13 unsigned long   _System lswap(unsigned long);
    14 unsigned short  _System bswap(unsigned short);
    15 int             _System rexec(char **, int, char *, char *, char *, int *);
     11unsigned long   TCPCALL lswap(unsigned long);
     12unsigned short  TCPCALL bswap(unsigned short);
     13int             TCPCALL rexec(char **, int, char *, char *, char *, int *);
    1614
    1715/* Definition for bswap */
     
    2321#define copyout(x,y,z)  memcpy((y),(x),(z))
    2422#ifndef XP_OS2_VACPP /* mozilla */
     23/* We've got the real thing now. (aliased at least)
    2524#define strcasecmp(x,y)     strcmpi((x),(y))
    2625#define strncasecmp(x,y,z)  strnicmp(x,y,z)
     26*/
    2727#endif
     28int strcasecmp (__const__ char *, __const__ char *);
     29int strncasecmp (__const__ char *, __const__ char *, size_t);
    2830
    2931#ifndef MIN
     
    3941
    4042#else
    41 int     _System rexec(char **, int, char *, char *, char *, int *);
     43int     TCPCALL rexec(char **, int, char *, char *, char *, int *);
    4244#endif /*TCPV40HDRS*/
    4345
Note: See TracChangeset for help on using the changeset viewer.