diff options
author | Young Jin Kim <youki@microsoft.com> | 2019-09-25 23:32:13 +0300 |
---|---|---|
committer | Young Jin Kim <youki@microsoft.com> | 2019-09-25 23:32:13 +0300 |
commit | abf37c64da887d1222e5ccd9b990674e5047b133 (patch) | |
tree | badc2a88445af0b4801aae16d7276af5729da7aa /include | |
parent | 604620b78663d2bed318efba0ceb6d3ebadd14fb (diff) |
fix linux build error
Diffstat (limited to 'include')
-rw-r--r-- | include/fbgemm/Utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fbgemm/Utils.h b/include/fbgemm/Utils.h index 7cb86d4..3976790 100644 --- a/include/fbgemm/Utils.h +++ b/include/fbgemm/Utils.h @@ -16,7 +16,7 @@ # define ALIGNED_MALLOC(size, alignment) _aligned_malloc(size, alignment) # define FREE(ptr) _aligned_free(ptr) #else -# define ALWAYS_INLINE ALWAYS_INLINE +# define ALWAYS_INLINE __attribute__((always_inline)) # define ALIGNED_MALLOC(size, alignment) aligned_alloc(alignment, size) # define FREE(ptr) free(ptr) #endif |