char *config_filename = getProgramConfigFilename(command_filename);
char *userdata_basename = getBaseNameNoSuffix(command_filename);
char *userdata_subdir;
+#if defined(PLATFORM_UNIX)
char *userdata_subdir_unix;
+#endif
// read default program config, if existing
if (fileExists(config_filename))
LoadSetupFromFilename(config_filename);
}
+#if defined(PLATFORM_UNIX)
// set user data directory for Linux/Unix (but not Mac OS X)
userdata_subdir_unix = getStringCat2(".", userdata_basename);
+#endif
// set program title from potentially redefined program title
if (setup.internal.program_title != NULL &&