dfreerdp: fix definition of boolean type
This commit is contained in:
parent
a70d069e69
commit
0e88c6bae1
@ -20,15 +20,16 @@
|
||||
#ifndef __DFREERDP_H
|
||||
#define __DFREERDP_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <directfb.h>
|
||||
#include <freerdp/freerdp.h>
|
||||
#include <freerdp/graphics.h>
|
||||
#include <freerdp/channels/channels.h>
|
||||
#include <freerdp/gdi/gdi.h>
|
||||
#include <freerdp/codec/color.h>
|
||||
#include <freerdp/channels/channels.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <directfb.h>
|
||||
|
||||
typedef struct df_info dfInfo;
|
||||
|
||||
|
@ -76,6 +76,7 @@ typedef int boolean;
|
||||
|
||||
#ifndef __bool_true_false_are_defined
|
||||
#define __bool_true_false_are_defined 1
|
||||
|
||||
#define true 1
|
||||
#define false 0
|
||||
|
||||
@ -85,8 +86,20 @@ typedef int boolean;
|
||||
typedef int boolean;
|
||||
#endif
|
||||
|
||||
#endif /* __bool_true_false_are_defined */
|
||||
|
||||
#else
|
||||
|
||||
#ifndef true
|
||||
#define true 1
|
||||
#endif
|
||||
|
||||
#ifndef false
|
||||
#define false 0
|
||||
#endif
|
||||
|
||||
typedef int boolean;
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* HAVE_STDBOOL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user