diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-11-27 00:30:54 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-11-27 00:30:54 +0000 |
| commit | 3febb302ad28fd25de51cbc686739469b92d8921 (patch) | |
| tree | 0a8d9a1070a7c1f2566c22562693fb27963037d9 /src/usocket.h | |
| parent | 9bc4e0648ab4a177293a94425594bdc54c9a84fa (diff) | |
| download | luasocket-3febb302ad28fd25de51cbc686739469b92d8921.tar.gz luasocket-3febb302ad28fd25de51cbc686739469b92d8921.tar.bz2 luasocket-3febb302ad28fd25de51cbc686739469b92d8921.zip | |
Killed a few bugs found by Tomas.
Diffstat (limited to 'src/usocket.h')
| -rw-r--r-- | src/usocket.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/usocket.h b/src/usocket.h index 85b7caa..b9255cb 100644 --- a/src/usocket.h +++ b/src/usocket.h | |||
| @@ -34,11 +34,6 @@ | |||
| 34 | /* TCP options (nagle algorithm disable) */ | 34 | /* TCP options (nagle algorithm disable) */ |
| 35 | #include <netinet/tcp.h> | 35 | #include <netinet/tcp.h> |
| 36 | 36 | ||
| 37 | #ifdef __APPLE__ | ||
| 38 | /* for some reason socklen_t is not defined in Mac Os X */ | ||
| 39 | typedef int socklen_t; | ||
| 40 | #endif | ||
| 41 | |||
| 42 | typedef int t_sock; | 37 | typedef int t_sock; |
| 43 | typedef t_sock *p_sock; | 38 | typedef t_sock *p_sock; |
| 44 | 39 | ||
