home *** CD-ROM | disk | FTP | other *** search
- if (!defined &_SYS_CDEFS_H) {
- eval 'sub _SYS_CDEFS_H {1;}';
- if (defined &__GNU_LIBRARY__) {
- require 'features.ph';
- }
- if (defined &__GNUC__) {
- if (!defined &__P) {
- eval 'sub __P {
- local($args) = @_;
- eval "$args";
- }';
- }
- eval 'sub __DOTS {, ...;}';
- if ((defined(&__GNUC__) ? &__GNUC__ : 0) < 2 || ((defined(&__GNUC__) ? &__GNUC__ : 0) == 2 && ((defined(&__GNUC_MINOR__) ? &__GNUC_MINOR__ : 0) < 5 || (defined( &__cplusplus) && (defined(&__GNUC_MINOR__) ? &__GNUC_MINOR__ : 0) < 6)))) {
- if (!defined &__CONSTVALUE) {
- eval 'sub __CONSTVALUE { &__const__;}';
- eval 'sub __CONSTVALUE2 {1;}';
- }
- if (!defined &__NORETURN) {
- eval 'sub __NORETURN { &__volatile__;}';
- eval 'sub __NORETURN2 {1;}';
- }
- }
- else {
- if (!defined &__CONSTVALUE) {
- eval 'sub __CONSTVALUE {1;}';
- if (defined( &const) || !defined( &__STDC__)) {
- eval 'sub __CONSTVALUE2 {1;}';
- }
- else {
- eval 'sub __CONSTVALUE2 { &__attribute__ (( &const));}';
- }
- }
- if (!defined &__NORETURN) {
- eval 'sub __NORETURN {1;}';
- if (defined &noreturn) {
- eval 'sub __NORETURN2 {1;}';
- }
- else {
- eval 'sub __NORETURN2 { &__attribute__ (( &noreturn));}';
- }
- }
- }
- }
- else {
- eval 'sub __inline {1;}';
- eval 'sub __CONSTVALUE {1;}';
- eval 'sub __CONSTVALUE2 {1;}';
- eval 'sub __NORETURN {1;}';
- eval 'sub __NORETURN2 {1;}';
- if ((defined ((defined(&__STDC__) ? &__STDC__ : 0)) && (defined(&__STDC__) ? &__STDC__ : 0)) || defined ((defined(&__cplusplus) ? &__cplusplus : 0))) {
- if (!defined &__P) {
- eval 'sub __P {
- local($args) = @_;
- eval "$args";
- }';
- }
- eval 'sub __const { &const;}';
- eval 'sub __signed { &signed;}';
- eval 'sub __volatile { &volatile;}';
- eval 'sub __DOTS {, ...;}';
- }
- else {
- if (!defined &__P) {
- eval 'sub __P {
- local($args) = @_;
- eval "()";
- }';
- }
- eval 'sub __const {1;}';
- eval 'sub __signed {1;}';
- eval 'sub __volatile {1;}';
- eval 'sub __DOTS {1;}';
- }
- }
- if (defined ((defined(&__GNUC__) ? &__GNUC__ : 0)) && (defined(&__GNUC__) ? &__GNUC__ : 0) < 2) {
- eval 'sub __extension__ {1;}';
- }
- if (defined ((defined(&__STDC__) ? &__STDC__ : 0)) && (defined(&__STDC__) ? &__STDC__ : 0)) {
- eval 'sub __CONCAT {
- local($x,$y) = @_;
- eval "$x ## $y";
- }';
- eval 'sub __STRING {
- local($x) = @_;
- eval "#$x";
- }';
- eval 'sub __ptr_t { &void *;}';
- }
- else {
- eval 'sub __CONCAT {
- local($x,$y) = @_;
- eval " &xy";
- }';
- eval 'sub __STRING {
- local($x) = @_;
- eval "\\"x\\"";
- }';
- eval 'sub __ptr_t {char *;}';
- }
- if (defined &__USE_BSD) {
- if (0) {
- eval 'sub const { &__const;}';
- }
- eval 'sub signed { &__signed;}';
- eval 'sub volatile { &__volatile;}';
- }
- if (defined &__cplusplus) {
- eval 'sub __BEGIN_DECLS { &extern "C" {;}';
- eval 'sub __END_DECLS {};}';
- }
- else {
- eval 'sub __BEGIN_DECLS {1;}';
- eval 'sub __END_DECLS {1;}';
- }
- }
- 1;
-