Commit ba26cc99 authored by Martin Sustrik's avatar Martin Sustrik

Build problem with OpenPGM and MSVC fixed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 14a0e147
...@@ -215,8 +215,8 @@ void *zmq_init (int io_threads_) ...@@ -215,8 +215,8 @@ void *zmq_init (int io_threads_)
// openPGM timing, set environment variables PGM_TIMER to "GTOD" and // openPGM timing, set environment variables PGM_TIMER to "GTOD" and
// PGM_SLEEP to "USLEEP". // PGM_SLEEP to "USLEEP".
pgm_error_t *pgm_error = NULL; pgm_error_t *pgm_error = NULL;
const bool rc = pgm_init (&pgm_error); const bool ok = pgm_init (&pgm_error);
if (rc != TRUE) { if (ok != TRUE) {
// Invalid parameters don't set pgm_error_t // Invalid parameters don't set pgm_error_t
zmq_assert (pgm_error != NULL); zmq_assert (pgm_error != NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment