Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
playsound: Remove __has_include macro for <alsa/asoundlib.h> (#851)
alsa-libのヘッダーファイル `alsa/asoundlib.h` は2001年[1]から 導入されているため現状サポートしているディストロでは利用可能です。 そのためヘッダーのチェックを整理してcppcheckのレポート(誤検知?) を解消します。 cppcheck 2.3のレポート ``` src/sound/playsound.cpp:15:0: error: failed to evaluate #if condition, division/modulo by zero [preprocessorErrorDirective] \#if __has_include(<alsa/asoundlib.h>) ^ ``` [1]: alsa-project/alsa-lib@0a8749a
- Loading branch information