1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

All macros should be enclosed by ()

This commit is contained in:
bel
2015-05-17 12:58:39 +02:00
parent 6ce8b4e92c
commit 9b4095f54d
4 changed files with 103 additions and 104 deletions

View File

@@ -13,9 +13,9 @@ static void *mmap(void *addr, int64_t len, int prot, int flags, int fd,
static void munmap(void *addr, int64_t length) { UnmapViewOfFile(addr); }
#define MAP_FAILED NULL
#define MAP_PRIVATE 0
#define PROT_READ 0
#define MAP_FAILED (NULL)
#define MAP_PRIVATE (0)
#define PROT_READ (0)
#else
#include <sys/mman.h>
#endif