change socket directory to /tmp for *nixes and the current directory for Windows
This commit is contained in:
parent
5b0f2b1290
commit
1b687a9f6a
1 changed files with 5 additions and 1 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Reference in a new issue