Changeset 1083


Ignore:
Timestamp:
Jan 25, 2004, 11:39:41 PM (22 years ago)
Author:
bird
Message:

#define BSD_VISIBLE together with USE_BSD. Don't define _POSIX_SOURCE as a default fallback when nothing is specified as that fkes up EMX legacy.

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r1082 r1083  
    169169#endif
    170170
     171#ifndef __EMX__ /* bird: this messes up lot's of EMX legacy declarations. */
    171172/* If none of the ANSI/POSIX macros are defined, use POSIX.1 and POSIX.2
    172173   (and IEEE Std 1003.1b-1993 unless _XOPEN_SOURCE is defined).  */
     
    180181# endif
    181182#endif
     183#endif /* bird */
    182184
    183185#if defined _POSIX_SOURCE || _POSIX_C_SOURCE >= 1 || defined _XOPEN_SOURCE
     
    240242#ifdef  _BSD_SOURCE
    241243# define __USE_BSD      1
     244/* bird: __USE_BSD == __BSD_VISIBLE, make sure it's defined. */
     245# ifdef __EMX__
     246#  undef __BSD_VISIBLE
     247#  define __BSD_VISIBLE  1
     248# endif
     249/* bird: end */
    242250#endif
    243251
Note: See TracChangeset for help on using the changeset viewer.