gameinput.h emits a few Wundef warnings (WINAPI_PARTITION_* macros)

This commit is contained in:
Anonymous Maarten
2026-05-14 17:38:30 +02:00
committed by Anonymous Maarten
parent 0f2c04319f
commit 8122b8f2ac

View File

@@ -25,8 +25,17 @@
#ifdef HAVE_GAMEINPUT_H
#ifdef HAVE_GCC_DIAGNOSTIC_PRAGMA
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wundef"
#endif
#include <gameinput.h>
#ifdef HAVE_GCC_DIAGNOSTIC_PRAGMA
#pragma GCC diagnostic pop
#endif
#ifndef GAMEINPUT_API_VERSION
#define GAMEINPUT_API_VERSION 0
#endif