mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-23 08:31:46 +02:00
Port tests to windows and add to cmake build.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <zmq.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
/// Initialize a zeromq message with a given null-terminated string
|
||||
#define ZMQ_PREPARE_STRING(msg, data, size) \
|
||||
@@ -31,6 +31,7 @@ int publicationsReceived = 0;
|
||||
bool isSubscribed = false;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
setup_test_environment();
|
||||
void* context = zmq_ctx_new();
|
||||
void* pubSocket;
|
||||
void* subSocket;
|
||||
|
Reference in New Issue
Block a user