feature macros defined to play well with C99

This commit is contained in:
antirez 2009-03-27 22:00:27 +01:00
parent 53f8c2c71e
commit 23d4709dfb
4 changed files with 9 additions and 1 deletions

2
anet.c
View File

@ -28,6 +28,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "fmacros.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

2
dict.c
View File

@ -33,6 +33,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "fmacros.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -28,6 +28,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "fmacros.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View File

@ -27,7 +27,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#define REDIS_VERSION "0.08"
#define REDIS_VERSION "0.09"
#include "fmacros.h"
#include <stdio.h>
#include <stdlib.h>