diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-09 03:46:55 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-09 03:46:55 -0400 |
commit | 6356e668906031af22f9fdf0f0aa6f8a4d7e2f7b (patch) | |
tree | 2ace3ba90891f709eff96b7d04e9971de2b4d988 | |
parent | 7420e763390412bad49f7d6eba85bb7e51963974 (diff) | |
download | gpsd-6356e668906031af22f9fdf0f0aa6f8a4d7e2f7b.tar.gz |
Since Windows should have full POSIX now, remove WIN32 port cruft.
It wasn't being used, anyway. There's no Windows port yet.
-rw-r--r-- | compiler.h | 4 | ||||
-rw-r--r-- | libgps_sock.c | 4 |
2 files changed, 0 insertions, 8 deletions
@@ -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 { |