projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
msvc support
[awesomized/libmemcached]
/
include
/
libmemcachedprotocol-0.0
/
callback.h
diff --git
a/include/libmemcachedprotocol-0.0/callback.h
b/include/libmemcachedprotocol-0.0/callback.h
index ceb441bf6141d8de74c4af4a53e925a87e8815dd..646843292809ddd010a2bfa7c86a7bd3b40b1ace 100644
(file)
--- a/
include/libmemcachedprotocol-0.0/callback.h
+++ b/
include/libmemcachedprotocol-0.0/callback.h
@@
-15,6
+15,17
@@
#pragma once
#pragma once
+#ifdef __cplusplus
+# include <cstdint>
+extern "C" {
+#else
+# include <stdint.h>
+#endif
+
+#ifdef _MSC_VER
+# undef interface
+#endif
+
/**
* Callback to send data back from a successful GET/GETQ/GETK/GETKQ command
*
/**
* Callback to send data back from a successful GET/GETQ/GETK/GETKQ command
*
@@
-362,3
+373,7
@@
typedef struct {
memcached_binary_protocol_callback_v1_st v1;
} interface;
} memcached_binary_protocol_callback_st;
memcached_binary_protocol_callback_v1_st v1;
} interface;
} memcached_binary_protocol_callback_st;
+
+#ifdef __cplusplus
+}
+#endif
\ No newline at end of file