Add default #define for __has_extension.

This commit is contained in:
Devin Matthews
2017-07-20 12:54:58 -05:00
committed by prangana
parent 2a9aa134f7
commit 32eb36c3e8

View File

@@ -52,6 +52,10 @@ void* bli_thrcomm_bcast
return object;
}
#ifndef __has_extension
#define __has_extension(x) 0
#endif
// Swap out __atomic_* builtins for __sync_* builtins for:
// - BG/Q
// - gcc <4.7 (including icc through gcc compatibility layer)