diff --git a/src/allreduce_robust.h b/src/allreduce_robust.h index c263aa47d..071ac8aa4 100644 --- a/src/allreduce_robust.h +++ b/src/allreduce_robust.h @@ -433,11 +433,7 @@ class AllreduceRobust : public AllreduceBase { bool RecoverExec(void *buf, size_t size, int flag, int seqno = ActionSummary::kSpecialOp, int cacheseqno = ActionSummary::kSpecialOp, -#ifdef __linux__ - const char* caller = __builtin_FUNCTION()); -#else - const char* caller = "N/A"); -#endif + const char* caller = _CALLER); /*! * \brief try to load check point *