diff options
author | Roland McGrath <roland@redhat.com> | 1992-07-26 22:30:45 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-07-26 22:30:45 +0000 |
commit | 47db5afe4f3a598cd708630fbfeaa0573db09bd7 (patch) | |
tree | fdf29cbbd4cf4016f9104b3ad99b3ad567bdf17f /make.h | |
parent | 19142fcfd4afd0123021eee17f8d1f588efe83a8 (diff) | |
download | gunmake-47db5afe4f3a598cd708630fbfeaa0573db09bd7.tar.gz |
Formerly make.h.~50~
Diffstat (limited to 'make.h')
-rw-r--r-- | make.h | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -15,6 +15,11 @@ You should have received a copy of the GNU General Public License along with GNU Make; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* AIX requires this to be the first thing in the file. */ +#if defined (_AIX) && !defined (__GNUC__) + #pragma alloca +#endif + #define _GNU_SOURCE #include <sys/types.h> #include <sys/stat.h> @@ -139,16 +144,29 @@ extern void bcopy (); extern char *malloc (), *realloc (); extern void free (); +extern void qsort (); +extern void abort (), exit (); + #endif /* Standard headers. */ #ifdef ANSI_STRING +#ifndef index #define index(s, c) strchr((s), (c)) +#endif +#ifndef rindex #define rindex(s, c) strrchr((s), (c)) +#endif +#ifndef bcmp #define bcmp(s1, s2, n) memcmp ((s1), (s2), (n)) +#endif +#ifndef bzero #define bzero(s, n) memset ((s), 0, (n)) +#endif +#ifndef bcopy #define bcopy(s, d, n) memcpy ((d), (s), (n)) #endif +#endif /* ANSI_STRING. */ #undef ANSI_STRING @@ -240,11 +258,9 @@ extern int sigsetmask (); extern int sigblock (); #endif extern int kill (); -extern void abort (), exit (); -extern int unlink (), stat (), fstat (); -extern void qsort (); extern int atoi (); extern long int atol (); +extern int unlink (), stat (), fstat (); extern int pipe (), close (), read (), write (), open (); extern long int lseek (); #endif /* GNU C library or POSIX. */ |