projects
/
platform
/
upstream
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3616964
)
Check for defines the right way
author
Wouter Verhelst
<w@uter.be>
Tue, 29 Nov 2011 15:58:02 +0000
(16:58 +0100)
committer
Wouter Verhelst
<w@uter.be>
Tue, 29 Nov 2011 15:58:02 +0000
(16:58 +0100)
I keep forgetting that autoconf says '#define FOO 0' rather than '#undef
FOO'...
nbd-server.c
patch
|
blob
|
history
diff --git
a/nbd-server.c
b/nbd-server.c
index e894f4ca35df103c78609591dc8ee7cd38a9ef90..4bbf41303ff24525304f105c6c09928ea0e29536 100644
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-83,7
+83,7
@@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
-#if
def
HAVE_FALLOC_PH
+#if HAVE_FALLOC_PH
#include <linux/falloc.h>
#endif
#include <arpa/inet.h>