mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
no longer letting Clang complain about the size of an empty struct
This commit is contained in:
parent
6a49052e20
commit
15d457adb0
1 changed files with 4 additions and 0 deletions
|
@ -29,8 +29,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
// empty struct size being 0 or 1 byte
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wextern-c-compat"
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include "../libunwind/libunwind.h"
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#include "../qcommon/q_shared.h"
|
||||
#include "../qcommon/qcommon.h"
|
||||
|
|
Loading…
Reference in a new issue