mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Guard clang pragmas against MSVC.
This commit is contained in:
@@ -16,8 +16,11 @@
|
|||||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_AARU_H
|
#ifndef LIBAARUFORMAT_AARU_H
|
||||||
#define LIBAARUFORMAT_AARU_H
|
#define LIBAARUFORMAT_AARU_H
|
||||||
|
|
||||||
@@ -1166,4 +1169,6 @@ typedef enum
|
|||||||
|
|
||||||
#endif // LIBAARUFORMAT_AARU_H
|
#endif // LIBAARUFORMAT_AARU_H
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
@@ -16,8 +16,11 @@
|
|||||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedMacroInspection"
|
#pragma ide diagnostic ignored "OCUnusedMacroInspection"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_CONSTS_H
|
#ifndef LIBAARUFORMAT_CONSTS_H
|
||||||
#define LIBAARUFORMAT_CONSTS_H
|
#define LIBAARUFORMAT_CONSTS_H
|
||||||
|
|
||||||
@@ -50,4 +53,6 @@
|
|||||||
|
|
||||||
#endif // LIBAARUFORMAT_CONSTS_H
|
#endif // LIBAARUFORMAT_CONSTS_H
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
@@ -16,8 +16,11 @@
|
|||||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_ENUMS_H
|
#ifndef LIBAARUFORMAT_ENUMS_H
|
||||||
#define LIBAARUFORMAT_ENUMS_H
|
#define LIBAARUFORMAT_ENUMS_H
|
||||||
|
|
||||||
@@ -285,4 +288,6 @@ typedef enum
|
|||||||
|
|
||||||
#endif // LIBAARUFORMAT_ENUMS_H
|
#endif // LIBAARUFORMAT_ENUMS_H
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
@@ -16,8 +16,11 @@
|
|||||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef LIBAARUFORMAT_STRUCTS_H
|
#ifndef LIBAARUFORMAT_STRUCTS_H
|
||||||
#define LIBAARUFORMAT_STRUCTS_H
|
#define LIBAARUFORMAT_STRUCTS_H
|
||||||
|
|
||||||
@@ -309,4 +312,6 @@ typedef struct CdEccContext
|
|||||||
|
|
||||||
#endif // LIBAARUFORMAT_STRUCTS_H
|
#endif // LIBAARUFORMAT_STRUCTS_H
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user