diff options
author | jbj <devnull@localhost> | 2000-04-13 10:41:31 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-04-13 10:41:31 +0000 |
commit | 7fd28d7bf20d37d360011b1a6957d35b99bf8098 (patch) | |
tree | 40f8e3be4eeac35ea4a0d459d359a078e3445ce0 | |
parent | 41db4a0210a45057741ef4d69fa6703924ed0d2e (diff) | |
download | librpm-tizen-7fd28d7bf20d37d360011b1a6957d35b99bf8098.tar.gz librpm-tizen-7fd28d7bf20d37d360011b1a6957d35b99bf8098.tar.bz2 librpm-tizen-7fd28d7bf20d37d360011b1a6957d35b99bf8098.zip |
Insure that EXIT_FAILURE is defined (irix6.5).
CVS patchset: 3675
CVS date: 2000/04/13 10:41:31
-rw-r--r-- | lib/rpmmalloc.c | 4 | ||||
-rw-r--r-- | rpmio/rpmmalloc.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/rpmmalloc.c b/lib/rpmmalloc.c index 94167b650..5e1b60211 100644 --- a/lib/rpmmalloc.c +++ b/lib/rpmmalloc.c @@ -1,5 +1,9 @@ #include "system.h" +#if !defined(EXIT_FAILURE) +#define EXIT_FAILURE 1 +#endif + void *vmefail(void) { fprintf(stderr, _("memory alloc returned NULL.\n")); diff --git a/rpmio/rpmmalloc.c b/rpmio/rpmmalloc.c index 94167b650..5e1b60211 100644 --- a/rpmio/rpmmalloc.c +++ b/rpmio/rpmmalloc.c @@ -1,5 +1,9 @@ #include "system.h" +#if !defined(EXIT_FAILURE) +#define EXIT_FAILURE 1 +#endif + void *vmefail(void) { fprintf(stderr, _("memory alloc returned NULL.\n")); |