Skip to content

Commit fe35a25

Browse files
committed
fix: suppress warning for 3ds in cpr
1 parent 2d068f9 commit fe35a25

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/lobby/curl_client.hpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@
44

55
#include "./client.hpp"
66

7+
#if defined(__3DS__)
8+
9+
#pragma GCC diagnostic push
10+
#pragma GCC diagnostic ignored "-Wpedantic"
11+
#endif
12+
713
#include <cpr/cpr.h>
814

15+
16+
#if defined(__3DS__)
17+
#pragma GCC diagnostic pop
18+
#endif
19+
20+
921
namespace oopetris::http::implementation {
1022

1123
struct ActualResult : ::oopetris::http::Result {

0 commit comments

Comments
 (0)