summaryrefslogtreecommitdiff
path: root/port/libport.h
diff options
context:
space:
mode:
Diffstat (limited to 'port/libport.h')
-rw-r--r--port/libport.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/port/libport.h b/port/libport.h
index 24e559b6..cb302ef4 100644
--- a/port/libport.h
+++ b/port/libport.h
@@ -36,16 +36,16 @@ int strcasecmp(const char *s1, const char *s2);
# define HAVE_GETOPT 1
#endif
-#if defined(HAVE_STRTOL)
+#if !defined(HAVE_STRTOL)
long strtol(const char *nptr, char **endptr, int base);
#endif
-#if defined(HAVE_STRTOLL)
+#if !defined(HAVE_STRTOLL)
long long strtoll(const char *nptr, char **endptr, int base);
#endif
-#if defined(HAVE_STRTOUL)
+#if !defined(HAVE_STRTOUL)
unsigned long strtoul(const char *nptr, char **endptr, int base);
#endif
-#if defined(HAVE_STRTOULL)
+#if !defined(HAVE_STRTOULL)
unsigned long long strtoull(const char *nptr, char **endptr, int base);
#endif