testprogs/win32/rpcecho-win32-pipe/ ndr64
[metze/samba/wip.git] / testprogs / win32 / rpcecho-win32-pipe / server.c
index 9324ff3679e686e8e669dffd02592c08dc03c7c0..4f4657af27a70bb4ea1276178ceb36f80fa5e12b 100755 (executable)
    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>
 
+#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"