(install_service, info, apro) [_WIN32]: Convert to standard snprintf()
from _snprintf(). [_WIN32]: Add #define snprintf to convert to _snprintf for WIN32 Visual Studio.
This commit is contained in:
parent
591b8d4862
commit
0e4eb6bf0a
3 changed files with 7 additions and 6 deletions
|
@ -47,7 +47,7 @@ install_service(char *program_name, char *service_name, char *config_file)
|
|||
SERVICE_DESCRIPTION sdBuf;
|
||||
|
||||
if (config_file != NULL)
|
||||
_snprintf(&program_name[strlen(program_name)], _MAX_PATH-strlen(program_name), " -e %s",
|
||||
snprintf(&program_name[strlen(program_name)], _MAX_PATH-strlen(program_name), " -e %s",
|
||||
config_file);
|
||||
|
||||
if (service_name == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue