From 6356e668906031af22f9fdf0f0aa6f8a4d7e2f7b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 9 Mar 2015 03:46:55 -0400 Subject: Since Windows should have full POSIX now, remove WIN32 port cruft. It wasn't being used, anyway. There's no Windows port yet. --- compiler.h | 4 ---- libgps_sock.c | 4 ---- 2 files changed, 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 { -- cgit v1.2.1