diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-31 06:50:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-31 06:50:44 +0000 |
commit | fd90d8dbf8895a27814b6d0349b93f9a6a31b495 (patch) | |
tree | 7037493122224077eb3f45945af1b6cf3770f33c /src/system.h | |
parent | edbe4553a820a4fdf6bfdb83e1560df7d6d7a778 (diff) | |
download | coreutils-fd90d8dbf8895a27814b6d0349b93f9a6a31b495.tar.xz |
* src/remove.c: Move true/false definitions and include from here...
* src/system.h: ...to here.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index 582fd7c51..95c6324b3 100644 --- a/src/system.h +++ b/src/system.h @@ -1,5 +1,5 @@ /* system-dependent definitions for fileutils, textutils, and sh-utils packages. - Copyright (C) 1989, 1991-2000 Free Software Foundation, Inc. + Copyright (C) 1989, 1991-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -116,6 +116,12 @@ struct utimbuf extern int errno; #endif +#if HAVE_STDBOOL_H +# include <stdbool.h> +#else +typedef enum {false = 0, true = 1} bool; +#endif + #if HAVE_STDLIB_H # define getopt system_getopt # include <stdlib.h> |