diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:31:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:31:19 -0400 |
commit | cf0b07c2e5284325fb89f2c8ee3ad99f5ed02195 (patch) | |
tree | 53153ac7646e5f5424a5e43381edf84db502b2e6 /src/lib/net | |
parent | 4638be5312f527e4769317b2b222faa52bbe0093 (diff) | |
download | tor-cf0b07c2e5284325fb89f2c8ee3ad99f5ed02195.tar.gz tor-cf0b07c2e5284325fb89f2c8ee3ad99f5ed02195.zip |
Retire some unused (or nearly unused) macros.
Diffstat (limited to 'src/lib/net')
-rw-r--r-- | src/lib/net/nettypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/net/nettypes.h b/src/lib/net/nettypes.h index 9bae70d5f8..f212374368 100644 --- a/src/lib/net/nettypes.h +++ b/src/lib/net/nettypes.h @@ -23,7 +23,7 @@ typedef int socklen_t; * any inadvertent checks for the socket being <= 0 or > 0 will probably * still work. */ #define tor_socket_t intptr_t -#define TOR_SOCKET_T_FORMAT INTPTR_T_FORMAT +#define TOR_SOCKET_T_FORMAT "%"PRIuPTR #define SOCKET_OK(s) ((SOCKET)(s) != INVALID_SOCKET) #define TOR_INVALID_SOCKET INVALID_SOCKET #else /* !(defined(_WIN32)) */ |