winpr: windows build fixes

This commit is contained in:
Marc-André Moreau 2014-10-10 18:59:05 -04:00
parent 00e3533230
commit e49cfe05a8
3 changed files with 10 additions and 5 deletions

View File

@ -42,8 +42,8 @@ extern "C" {
/* Engine */ /* Engine */
rdtkEngine* rdtk_engine_new(); RDTK_EXPORT rdtkEngine* rdtk_engine_new();
void rdtk_engine_free(rdtkEngine* engine); RDTK_EXPORT void rdtk_engine_free(rdtkEngine* engine);
/* Surface */ /* Surface */

View File

@ -82,7 +82,6 @@ WINPR_API BOOL SetEnvironmentVariableEBA(LPSTR * envBlock,LPCSTR lpName, LPCSTR
} }
#endif #endif
#ifdef UNICODE #ifdef UNICODE
#define GetCurrentDirectory GetCurrentDirectoryW #define GetCurrentDirectory GetCurrentDirectoryW
#define SetCurrentDirectory SetCurrentDirectoryW #define SetCurrentDirectory SetCurrentDirectoryW

View File

@ -410,8 +410,6 @@ typedef struct tagWTSSESSION_NOTIFICATION
#define WTS_SESSION_LOCK 0x7 #define WTS_SESSION_LOCK 0x7
#define WTS_SESSION_UNLOCK 0x8 #define WTS_SESSION_UNLOCK 0x8
#define WTS_SESSION_REMOTE_CONTROL 0x9 #define WTS_SESSION_REMOTE_CONTROL 0x9
#define WTS_SESSION_CREATE 0xA
#define WTS_SESSION_TERMINATE 0xB
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -567,5 +565,13 @@ WINPR_API LRESULT WINAPI DefWindowProcW(HWND hWnd, UINT Msg, WPARAM wParam, LPAR
#endif #endif
#ifndef WTS_SESSION_CREATE
#define WTS_SESSION_CREATE 0xA
#endif
#ifndef WTS_SESSION_TERMINATE
#define WTS_SESSION_TERMINATE 0xB
#endif
#endif /* WINPR_WND_H */ #endif /* WINPR_WND_H */