Overview
| Artifact ID: | bc24856b4998ffb32c947f76a6df7a98686565c0 |
|---|---|
| Ticket: | 664358ffffffffffffffffffffffffffffffffff
compat/unistd.h loads over unistd.h on AIX |
| User & Date: | nobody on 2003-01-08 12:49:30 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed to:
The compat/unistd.h is protected against double loading with a construct #ifndef _UNISTD #define _UNISTD .... #endif AIX xlC (Visual Age for C) uses the same mechanism but a different identifier: _H_UNISTD So I'd propose to use this as well nested into the original construct to protect from loading unistd.h #ifndef _UNISTD #define _UNISTD #ifndef _H_UNISTD #define _H_UNISTD .... #endif /* _H_UNISTD */ #endif /* _UNISTD */ or alternatively if no compatibility problems come up with that use #if !defined(_UNISTD) && !defined(_H_UNISTD) #define _H_UNISTD #define _UNISTD .... #endif Don't know which is better.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "52. Portability Support"
- title changed to: "compat/unistd.h loads over unistd.h on AIX"
- type changed to: "Bug"