Define value only if not defined

This commit is contained in:
2020-12-28 13:32:24 +01:00
parent 7cb4f40d22
commit 609fd34ab7

View File

@ -56,8 +56,12 @@
#define NECRONDA_DEFAULT "www.necronda.net"
#define NECRONDA_ZLIB_LEVEL 9
#ifndef MAGIC_FILE
#define MAGIC_FILE "/usr/share/file/misc/magic.mgc"
#endif
#ifndef PHP_FPM_SOCKET
#define PHP_FPM_SOCKET "/var/run/php-fpm/php-fpm.sock"
#endif
int sockets[NUM_SOCKETS];
pid_t children[MAX_CHILDREN];