Improve clang fixes
This commit is contained in:
@@ -107,9 +107,8 @@ add_library(ui STATIC
|
|||||||
../qt_resources.qrc
|
../qt_resources.qrc
|
||||||
)
|
)
|
||||||
|
|
||||||
if(NOT MINGW)
|
if(WIN32 AND NOT MINGW)
|
||||||
target_sources(plat PRIVATE ../win/win_opendir.c)
|
target_sources(plat PRIVATE ../win/win_opendir.c)
|
||||||
target_sources(plat PRIVATE ../nvr.c)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
* C functionality for Qt platform, where the C equivalent is not easily
|
* C functionality for Qt platform, where the C equivalent is not easily
|
||||||
* implemented in Qt
|
* implemented in Qt
|
||||||
*/
|
*/
|
||||||
#ifdef __MINGW32__
|
#if !defined(_WIN32) && !defined(__clang__)
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#endif
|
#endif
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
"openal-soft",
|
"openal-soft",
|
||||||
"sdl2",
|
"sdl2",
|
||||||
"rtmidi",
|
"rtmidi",
|
||||||
"qt5"
|
"qt5-base"
|
||||||
]
|
]
|
||||||
}
|
}
|
Reference in New Issue
Block a user