diff --git a/lib/app_ipc.C b/lib/app_ipc.C
index 1011ed0156..526483b096 100755
--- a/lib/app_ipc.C
+++ b/lib/app_ipc.C
@@ -59,9 +59,11 @@ int write_init_data_file(FILE* f, APP_INIT_DATA& ai) {
xml_escape(str1, str2);
fprintf(f, "%s\n", str2.c_str());
}
+#ifdef _WIN32
if (strlen(ai.comm_obj_name)) {
fprintf(f, "%s\n", ai.comm_obj_name);
}
+#endif
fprintf(f,
"%f\n"
"%f\n"
@@ -102,7 +104,9 @@ int parse_init_data_file(FILE* f, APP_INIT_DATA& ai) {
else if (parse_str(buf, "", ai.app_name, sizeof(ai.app_name))) continue;
else if (parse_str(buf, "", ai.user_name, sizeof(ai.user_name))) continue;
else if (parse_str(buf, "", ai.team_name, sizeof(ai.team_name))) continue;
+#ifdef _WIN32
else if (parse_str(buf, "", ai.comm_obj_name, sizeof(ai.comm_obj_name))) continue;
+#endif
else if (parse_double(buf, "", ai.user_total_credit)) continue;
else if (parse_double(buf, "", ai.user_expavg_credit)) continue;
else if (parse_double(buf, "", ai.host_total_credit)) continue;