Don't use _builtin_FUNCTION. (#107)

This commit is contained in:
Jiaming Yuan 2019-09-18 12:05:23 -04:00 committed by GitHub
parent 9a7ac85d7e
commit d4ce6807c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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