Check _MSC_VER for MSVC specific pragma directives.
This commit is contained in:
parent
5d502c9d06
commit
3a1168cbda
@ -25,7 +25,9 @@
|
||||
#include "wf_client.h"
|
||||
#include "wf_floatbar.h"
|
||||
#include "wf_gdi.h"
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "Msimg32.lib")
|
||||
#endif
|
||||
|
||||
#define TAG CLIENT_TAG("windows.floatbar")
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#define TAG FREERDP_TAG("settings")
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4244)
|
||||
#endif
|
||||
@ -1112,6 +1112,6 @@ out_fail:
|
||||
freerdp_settings_free(_settings);
|
||||
return NULL;
|
||||
}
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
@ -663,7 +663,7 @@ BOOL PathIsDirectoryEmptyW(LPCWSTR pszPath)
|
||||
|
||||
#else
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "shlwapi.lib")
|
||||
#endif
|
||||
|
||||
|
@ -406,7 +406,7 @@ typedef trio_longlong_t trio_int64_t;
|
||||
* Internal Definitions
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4244)
|
||||
#endif
|
||||
@ -7189,6 +7189,6 @@ TRIO_PUBLIC TRIO_CONST char* trio_strerror TRIO_ARGS1((errorcode), int errorcode
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user