提交 10269064 编写于 作者: L Lincoln Myers 提交者: Daniel Veillard

Fix compilation on MacOS X

* src/util/virfile.h: the virFileWrapperFdFlags being defined as
  a globa variable instead of a type ended up generating a duplicate
  symbol error.
* AUTHORS: added Lincoln Myers
上级 1c310eaf
...@@ -220,6 +220,7 @@ Patches have also been contributed by: ...@@ -220,6 +220,7 @@ Patches have also been contributed by:
Ansis Atteka <aatteka@nicira.com> Ansis Atteka <aatteka@nicira.com>
Dan Wendlandt <dan@nicira.com> Dan Wendlandt <dan@nicira.com>
Kyle Mestery <kmestery@cisco.com> Kyle Mestery <kmestery@cisco.com>
Lincoln Myers <lincoln_myers@yahoo.com>
[....send patches to get your name here....] [....send patches to get your name here....]
......
...@@ -58,10 +58,10 @@ typedef virFileWrapperFd *virFileWrapperFdPtr; ...@@ -58,10 +58,10 @@ typedef virFileWrapperFd *virFileWrapperFdPtr;
int virFileDirectFdFlag(void); int virFileDirectFdFlag(void);
enum { enum virFileWrapperFdFlags {
VIR_FILE_WRAPPER_BYPASS_CACHE = (1 << 0), VIR_FILE_WRAPPER_BYPASS_CACHE = (1 << 0),
VIR_FILE_WRAPPER_NON_BLOCKING = (1 << 1), VIR_FILE_WRAPPER_NON_BLOCKING = (1 << 1),
} virFileWrapperFdFlags; };
virFileWrapperFdPtr virFileWrapperFdNew(int *fd, virFileWrapperFdPtr virFileWrapperFdNew(int *fd,
const char *name, const char *name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册