Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
d0b6b9ab
Commit
d0b6b9ab
authored
Aug 14, 2012
by
Pieter Noordhuis
Browse files
Remove fmacros.h
parent
c923fdf0
Changes
10
Hide whitespace changes
Inline
Side-by-side
src/fd.c
View file @
d0b6b9ab
#include "fmacros.h"
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <errno.h>
#include <fcntl.h>
#include <fcntl.h>
...
...
src/fmacros.h
deleted
100644 → 0
View file @
c923fdf0
#ifndef _HIREDIS_FMACRO_H
#define _HIREDIS_FMACRO_H 1
#if !defined(_BSD_SOURCE)
#define _BSD_SOURCE
#endif
#if defined(__sun__)
#define _POSIX_C_SOURCE 200112L
#elif defined(__linux__)
#define _XOPEN_SOURCE 600
#else
#define _XOPEN_SOURCE
#endif
#endif
src/format.c
View file @
d0b6b9ab
#include "fmacros.h"
#include <assert.h>
#include <assert.h>
#include <ctype.h>
#include <ctype.h>
#include <stdio.h>
#include <stdio.h>
...
...
src/handle.c
View file @
d0b6b9ab
#include "fmacros.h"
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <errno.h>
#include <poll.h>
#include <poll.h>
...
...
test/test-context.c
View file @
d0b6b9ab
#include "fmacros.h"
/* misc */
/* misc */
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
test/test-format.c
View file @
d0b6b9ab
#include "fmacros.h"
/* misc */
/* misc */
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
test/test-handle.c
View file @
d0b6b9ab
#include "fmacros.h"
/* misc */
/* misc */
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
test/test-object.c
View file @
d0b6b9ab
#include "fmacros.h"
/* misc */
/* misc */
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
test/test-parser.c
View file @
d0b6b9ab
#include "fmacros.h"
/* misc */
/* misc */
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
test/test-request.c
View file @
d0b6b9ab
#include "fmacros.h"
/* misc */
/* misc */
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment