Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit c60cd49

Browse files
committed
Fix inconsistent __attribute__ usage
1 parent 8779708 commit c60cd49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/HapPlatform.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727

2828
#if defined(__APPLE__)
2929
#include <Availability.h>
30-
#define HAP_ATTR_UNUSED __attribute((unused))
30+
#define HAP_ATTR_UNUSED __attribute__((unused))
3131
#define HAP_FUNC __func__
32-
#define HAP_ALIGN_16 __attribute__ ((aligned (16)))
32+
#define HAP_ALIGN_16 __attribute__((aligned (16)))
3333
#if !defined(DEBUG)
3434
#define HAP_INLINE inline __attribute__((__always_inline__))
3535
#else

0 commit comments

Comments
 (0)