\r
/* Affinity. */\r
#define NSSM_AFFINITY_ALL _T("All")\r
+/* Default value. */\r
+#define NSSM_DEFAULT_STRING _T("Default")\r
\r
extern const TCHAR *exit_action_strings[];\r
extern const TCHAR *startup_strings[];\r
\r
/* Does the parameter refer to the default value of the setting? */\r
static inline int is_default(const TCHAR *value) {\r
- return (str_equiv(value, _T("default")) || str_equiv(value, _T("*")) || ! value[0]);\r
+ return (str_equiv(value, NSSM_DEFAULT_STRING) || str_equiv(value, _T("*")) || ! value[0]);\r
}\r
\r
static int value_from_string(const TCHAR *name, value_t *value, const TCHAR *string) {\r