GUAC-1172: Use FreeRDP to define STATUS_* constants, if possible, before falling back to the rest of rdp_status.h.
This commit is contained in:
parent
4d7634da9e
commit
5e76e11e6a
@ -32,6 +32,14 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
/* Include any constants from winpr/file.h, if available */
|
||||
|
||||
#ifdef ENABLE_WINPR
|
||||
#include <winpr/file.h>
|
||||
#endif
|
||||
|
||||
/* Constants which MAY be defined within FreeRDP */
|
||||
|
||||
#ifndef STATUS_SUCCESS
|
||||
#define STATUS_SUCCESS 0x00000000
|
||||
#define STATUS_NO_MORE_FILES 0x80000006
|
||||
@ -53,6 +61,8 @@
|
||||
#define STATUS_FILE_CLOSED 0xC0000128
|
||||
#endif
|
||||
|
||||
/* Constants which are NEVER defined within FreeRDP */
|
||||
|
||||
#define STATUS_FILE_SYSTEM_LIMITATION 0xC0000427
|
||||
#define STATUS_FILE_TOO_LARGE 0xC0000904
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user