diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:14:38 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:14:38 +0300 |
commit | fae4762eba9ff7bb466a600130e9c90eaac6b0bc (patch) | |
tree | 62711fe7cd511824b5f8a90ba1ba7b523d42e127 /awklib/eg/lib/grcat.c | |
parent | bc70de7b3302d5a81515b901cae376b8b51d2004 (diff) | |
download | egawk-fae4762eba9ff7bb466a600130e9c90eaac6b0bc.tar.gz egawk-fae4762eba9ff7bb466a600130e9c90eaac6b0bc.tar.bz2 egawk-fae4762eba9ff7bb466a600130e9c90eaac6b0bc.zip |
Move to gawk-3.1.1.
Diffstat (limited to 'awklib/eg/lib/grcat.c')
-rw-r--r-- | awklib/eg/lib/grcat.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/awklib/eg/lib/grcat.c b/awklib/eg/lib/grcat.c index d34ddd56..802aa639 100644 --- a/awklib/eg/lib/grcat.c +++ b/awklib/eg/lib/grcat.c @@ -8,6 +8,14 @@ * Public Domain */ +/* For OS/2, do nothing. */ +#if HAVE_CONFIG_H +#include <config.h> +#endif + +#ifndef HAVE_GETPGRENT +int main() { exit(0); } +#else #include <stdio.h> #include <grp.h> @@ -32,3 +40,4 @@ char **argv; endgrent(); exit(0); } +#endif /* HAVE_GETPGRENT */ |