comparison future.h @ 240:7fd5cb857d07

Add data pubblication through ZMQ socket
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Thu, 12 Feb 2015 19:46:54 +0100
parents ec81395bf08d
children 4db8746bd575
comparison
equal deleted inserted replaced
239:ec81395bf08d 240:7fd5cb857d07
1 #ifndef __FUTURE_H__ 1 #ifndef __FUTURE_H__
2 #define __FUTURE_H__ 2 #define __FUTURE_H__
3
4 #define strdup(s) StrDup(s)
3 5
4 /* required for time_t definition */ 6 /* required for time_t definition */
5 #include <time.h> 7 #include <time.h>
6 8
7 #define PTR_TO_INT(p) ((int) ((intptr_t)(p))) 9 #define PTR_TO_INT(p) ((int) ((intptr_t)(p)))