git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
testprogs/win32/rpcecho-win32-pipe/ ndr64
[metze/samba/wip.git]
/
testprogs
/
win32
/
rpcecho-win32-pipe
/
server.c
diff --git
a/testprogs/win32/rpcecho-win32-pipe/server.c
b/testprogs/win32/rpcecho-win32-pipe/server.c
index 9324ff3679e686e8e669dffd02592c08dc03c7c0..4f4657af27a70bb4ea1276178ceb36f80fa5e12b 100755
(executable)
--- a/
testprogs/win32/rpcecho-win32-pipe/server.c
+++ b/
testprogs/win32/rpcecho-win32-pipe/server.c
@@
-18,14
+18,16
@@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define _WIN32_WINNT 0x0500
-
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "rpcecho.h"
#include <NtDsApi.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "rpcecho.h"
#include <NtDsApi.h>
+#ifndef _M_AMD64
+#error "please run 'vcvarsall.bat amd64' -midltests_tcp needs 64-bit support!"
+#endif
+
#define RPC_MIN_CALLS 1
#define RPC_MAX_CALLS 20
#define RPC_ENDPOINT "\\pipe\\rpcecho"
#define RPC_MIN_CALLS 1
#define RPC_MAX_CALLS 20
#define RPC_ENDPOINT "\\pipe\\rpcecho"