Differences From Artifact [d8e9d867f6]:
- File src/OFTCPSocket.m — part of check-in [1940d72ec7] at 2011-06-05 18:53:27 on branch trunk — Rename -[connetToHost:onPort:] to -[connectToHost:port:]. (user: js, size: 9783) [annotate] [blame] [check-ins using]
To Artifact [d0efc140d4]:
- File
src/OFTCPSocket.m
— part of check-in
[da2701ad14]
at
2011-07-17 01:55:16
on branch trunk
— Define __NO_EXT_QNX in files using unistd.h or fcntl.h.
Without this, the headers try to declare functions that use __block as
an argument name and thus fail to compile when using -fblocks. (user: js, size: 9806) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <assert.h> #ifndef _WIN32 # include <netinet/in.h> # include <arpa/inet.h> | > > > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #define __NO_EXT_QNX #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <assert.h> #ifndef _WIN32 # include <netinet/in.h> # include <arpa/inet.h> |
︙ | ︙ |