diff options
author | Mattias Andrée <maandree@kth.se> | 2018-08-12 20:09:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-08-12 20:09:41 +0200 |
commit | 719789a3940420ea4c874eafde6e299c7dc0a4cb (patch) | |
tree | 3d9de32c0ae2ebba0bc7202ec80d5d7cff420912 /libsimple.h | |
parent | add libsimple-arg.h (diff) | |
download | libsimple-719789a3940420ea4c874eafde6e299c7dc0a4cb.tar.gz libsimple-719789a3940420ea4c874eafde6e299c7dc0a4cb.tar.bz2 libsimple-719789a3940420ea4c874eafde6e299c7dc0a4cb.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsimple.h')
-rw-r--r-- | libsimple.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/libsimple.h b/libsimple.h index 575d36d..7b5b361 100644 --- a/libsimple.h +++ b/libsimple.h @@ -187,7 +187,7 @@ extern int libsimple_default_failure_exit; #ifndef INTSTRLEN -# define INTSTRLEN(TYPE) ((sizeof(TYPE) == 1 ? 3 : 5 * (sizeof(TYPE) / 2)) + ((TYPE)-1 > 0)) +# define INTSTRLEN(TYPE) ((sizeof(TYPE) == 1 ? 3 : 5 * (sizeof(TYPE) / 2)) + ((TYPE)-1 < 0)) #endif @@ -245,14 +245,6 @@ extern int libsimple_default_failure_exit; # define FSFILCNT_MAX TYPE_MAX(fsfilcnt_t) #endif -#ifndef FSID_MAX -# define FSID_MAX TYPE_MAX(fsid_t) -#endif - -#ifndef FSWORD_MAX -# define FSWORD_MAX TYPE_MAX(fsword_t) -#endif - #ifndef GID_MAX # define GID_MAX TYPE_MAX(gid_t) #endif @@ -329,10 +321,6 @@ extern int libsimple_default_failure_exit; # define TCFLAG_MAX TYPE_MAX(tcflag_t) #endif -#ifndef TIMER_MAX -# define TIMER_MAX TYPE_MAX(timer_t) -#endif - #ifndef TIME_MAX # define TIME_MAX TYPE_MAX(time_t) #endif @@ -394,14 +382,6 @@ extern int libsimple_default_failure_exit; # define FSFILCNT_MIN TYPE_MIN(fsfilcnt_t) #endif -#ifndef FSID_MIN -# define FSID_MIN TYPE_MIN(fsid_t) -#endif - -#ifndef FSWORD_MIN -# define FSWORD_MIN TYPE_MIN(fsword_t) -#endif - #ifndef GID_MIN # define GID_MIN TYPE_MIN(gid_t) #endif @@ -478,10 +458,6 @@ extern int libsimple_default_failure_exit; # define TCFLAG_MIN TYPE_MAX(tcflag_t) #endif -#ifndef TIMER_MIN -# define TIMER_MIN TYPE_MIN(timer_t) -#endif - #ifndef TIME_MIN # define TIME_MIN TYPE_MIN(time_t) #endif |