mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 15:43:28 +01:00
Silence clang deprecated warnings on macOS
We still target a very old version of macOS, which tends to make clang very upset, so we need to turn off depercation warnings.
This commit is contained in:
parent
47bba8a1e6
commit
e2cea31e87
@ -17,3 +17,8 @@
|
|||||||
typedef long ssize_t;
|
typedef long ssize_t;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* We know we use deprecated stuff, it's to support older macOS */
|
||||||
|
#if defined(__APPLE__) && defined(__clang__)
|
||||||
|
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user