change socket directory to /tmp for *nixes and the current directory for Windows

This commit is contained in:
Steffen Vogel 2016-10-18 23:41:41 -04:00
parent 5b0f2b1290
commit 1b687a9f6a
1 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,10 @@
# define PACKAGE "${PROJECT_NAME}"
# define VERSION "${PROJECT_VERSION}"
#define NN_SOCKET_PATH "/var/lib/"
#ifdef _WIN32
# define NN_SOCKET_PATH ""
#else
# define NN_SOCKET_PATH "/tmp/"
#endif
#endif /* !CONFIG_H_IN_ */