projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
7327acf
)
Fix compile problems when cross compiling
author
Trond Norbye
<trond.norbye@gmail.com>
Sun, 1 Aug 2010 22:25:02 +0000
(
00:25
+0200)
committer
Trond Norbye
<trond.norbye@gmail.com>
Sun, 1 Aug 2010 22:25:02 +0000
(
00:25
+0200)
win32/wrappers.h
patch
|
blob
|
history
diff --git
a/win32/wrappers.h
b/win32/wrappers.h
index 20218fd58174d24b457c67d885156ddae05727ae..80b44651c4b29aa8162f8d48a3f982a442077c41 100644
(file)
--- a/
win32/wrappers.h
+++ b/
win32/wrappers.h
@@
-12,6
+12,8
@@
#ifndef WIN32_WRAPPERS_H
#define WIN32_WRAPPERS_H 1
+#include <inttypes.h>
+
/*
* One of the Windows headers define interface as a macro, but that
* is causing problems with the member named "interface" in some of the
@@
-19,6
+21,10
@@
*/
#undef interface
+#undef malloc
+#undef realloc
+
+
/*
* WinSock use a separate range for error codes. Let's just map to the
* WinSock ones.