aboutsummaryrefslogtreecommitdiffstats
path: root/libsimple.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsimple.h')
-rw-r--r--libsimple.h26
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