add static for inline function to avoid duplicated definitions when using old GCC

This commit is contained in:
Vincent Wei
2019-06-06 10:18:35 +08:00
parent 42b10aed6a
commit 7303f40b2e
+1 -1
View File
@@ -8018,7 +8018,7 @@ MG_EXPORT HDC GUIAPI InitSlaveScreenEx (const char* name, const char* mode, int
*
* \return Valid handle on success, HDC_INVALID on failure.
*/
inline HDC InitSlaveScreen (const char* name, const char* mode)
static inline HDC InitSlaveScreen (const char* name, const char* mode)
{
return InitSlaveScreenEx(name, mode, GDCAP_DPI_DEFAULT);
}