mirror of
https://github.com/Silicondust/libhdhomerun
synced 2025-08-20 21:43:27 -07:00
alignas c++ fix
alignas is a keyword in c++. Dont define. Change is in windows header already, and GCC 8.3.0 is erroring on this now.
This commit is contained in:
parent
9719cbc7a5
commit
a83ec0c045
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ typedef struct {
|
|||
|
||||
#define LIBHDHOMERUN_API
|
||||
|
||||
#if !defined(alignas)
|
||||
#if !defined(alignas) && !defined(__cplusplus)
|
||||
#define alignas(n) __attribute__((aligned(n)))
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue