summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler.h4
-rw-r--r--libgps_sock.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/compiler.h b/compiler.h
index bca4c9e2..e33a4899 100644
--- a/compiler.h
+++ b/compiler.h
@@ -20,10 +20,6 @@
#define _POSIX_THREAD_SAFE_FUNCTIONS
#endif
-#ifdef _WIN32
-typedef unsigned int speed_t;
-#endif
-
#include "gpsd_config.h" /* is HAVE_STDATOMIC defined? */
/* Macro for declaring function with printf-like arguments. */
diff --git a/libgps_sock.c b/libgps_sock.c
index 919434f2..e36e4ff1 100644
--- a/libgps_sock.c
+++ b/libgps_sock.c
@@ -41,10 +41,6 @@
extern char *strtok_r(char *, const char *, char **);
#endif /* S_SPLINT_S */
-#ifdef _WIN32
-#define strtok_r(s,d,p) strtok_s(s,d,p)
-#endif
-
/*@-matchfields@*/
struct privdata_t
{