Better #if condition for clang

This commit is contained in:
David Rowe 2015-05-11 09:31:12 -07:00
parent 70f7329a7e
commit 662f07a921
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
#include "NetworkLogging.h"
#include "DataServerAccountInfo.h"
#if !defined(__GNUC__) && !defined(Q_OS_WIN)
#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif

View file

@ -18,7 +18,7 @@
#include "NetworkLogging.h"
#include "RSAKeypairGenerator.h"
#ifndef __GNUC__
#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif