forked from enlightenment/enlightenment
silence warnings on older gcc's about incomplete types
SVN revision: 25037
This commit is contained in:
parent
a3c1589605
commit
0d8703417c
|
@ -6,10 +6,6 @@
|
||||||
typedef enum _E_Color_Component E_Color_Component;
|
typedef enum _E_Color_Component E_Color_Component;
|
||||||
typedef struct _E_Color E_Color;
|
typedef struct _E_Color E_Color;
|
||||||
|
|
||||||
#else
|
|
||||||
#ifndef E_COLOR_HEADER
|
|
||||||
#define E_COLOR_HEADER
|
|
||||||
|
|
||||||
enum _E_Color_Component
|
enum _E_Color_Component
|
||||||
{
|
{
|
||||||
E_COLOR_COMPONENT_R,
|
E_COLOR_COMPONENT_R,
|
||||||
|
@ -21,6 +17,10 @@ enum _E_Color_Component
|
||||||
E_COLOR_COMPONENT_MAX
|
E_COLOR_COMPONENT_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#else
|
||||||
|
#ifndef E_COLOR_HEADER
|
||||||
|
#define E_COLOR_HEADER
|
||||||
|
|
||||||
// used so that a single color struct can be shared by all elements of the color dialog
|
// used so that a single color struct can be shared by all elements of the color dialog
|
||||||
struct _E_Color
|
struct _E_Color
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue