Changeset 5e6da2ccd1abe8aa88783abe6a4ae160e72d1de7
- Timestamp:
- 01/17/10 00:13:39 (2 years ago)
- Author:
- D.J. Capelis <dev@…>
- Parents:
- b864acd1310a66c20506c14a5e4cdd2ab0e363bc
- Children:
- 31ce2cb0f34aebfcdd50b5602a150e4ea0c03dd3
- git-committer:
- D.J. Capelis <dev@capelis.dj> / 2010-01-17T00:13:39Z-0800
- Message:
-
Using new epoll compatibility framework for systems without epoll
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r50d3946
|
r5e6da2c
|
|
| 1 | 1 | CC=gcc |
| 2 | | CFLAGS=-g -O0 -Wall -Wextra |
| | 2 | CFLAGS=-g -O0 -Wall -Wextra -I. |
| 3 | 3 | LDFLAGS=-lpthread -lssl |
| 4 | | SRCS=config.c handler.c helpers.c init.c main.c services/auth.c services/host.c services/multiplex.c services/ssl.c |
| 5 | | OBJS=config.o handler.o helpers.o init.o main.o services/auth.o services/host.o services/multiplex.o services/ssl.o |
| | 4 | SRCS=config.c handler.c helpers.c init.c main.c services/auth.c services/host.c services/multiplex.c services/ssl.c compat/epoll.c |
| | 5 | OBJS=config.o handler.o helpers.o init.o main.o services/auth.o services/host.o services/multiplex.o services/ssl.o compat/epoll.o |
| 6 | 6 | |
| 7 | 7 | all: fived |
| … |
… |
|
| 16 | 16 | |
| 17 | 17 | clean: |
| 18 | | rm -f *.o services/*.o fived |
| | 18 | rm -f *.o services/*.o compat/*.o fived |
| 19 | 19 | |
-
|
r50d3946
|
r5e6da2c
|
|
| 18 | 18 | #include<netdb.h> |
| 19 | 19 | #include<arpa/inet.h> |
| 20 | | #include<sys/epoll.h> |
| 21 | 20 | #include<openssl/ssl.h> |
| | 21 | |
| | 22 | #include<compat/epoll.h> |
| 22 | 23 | |
| 23 | 24 | #include"init.h" |