Use -I instead of -isystem for system header directories when building
with gcc 4. Fixed resulting build errors (gcc is more lenient for headers in -isystem directories). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20386 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
80a1eea587
commit
2c97a8d164
@ -242,7 +242,7 @@ rule SetIncludePropertiesVariables
|
||||
} else {
|
||||
$(prefix)_INCLUDES_SEPARATOR = ;
|
||||
$(prefix)_LOCAL_INCLUDES_OPTION = "-iquote " ;
|
||||
$(prefix)_SYSTEM_INCLUDES_OPTION = "-idirafter " ;
|
||||
$(prefix)_SYSTEM_INCLUDES_OPTION = "-I " ;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -184,7 +184,7 @@ enum alignment {
|
||||
B_ALIGN_HORIZONTAL_CENTER = B_ALIGN_CENTER,
|
||||
|
||||
B_ALIGN_HORIZONTAL_UNSET = -1L,
|
||||
B_ALIGN_USE_FULL_WIDTH = -2L,
|
||||
B_ALIGN_USE_FULL_WIDTH = -2L
|
||||
};
|
||||
|
||||
enum vertical_alignment {
|
||||
@ -196,7 +196,7 @@ enum vertical_alignment {
|
||||
|
||||
B_ALIGN_VERTICAL_UNSET = -1L,
|
||||
B_ALIGN_NO_VERTICAL = B_ALIGN_VERTICAL_UNSET,
|
||||
B_ALIGN_USE_FULL_HEIGHT = -2L,
|
||||
B_ALIGN_USE_FULL_HEIGHT = -2L
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------*/
|
||||
@ -347,7 +347,7 @@ enum color_which {
|
||||
B_WINDOW_TAB_COLOR = 3,
|
||||
B_WINDOW_TEXT_COLOR = 22,
|
||||
B_WINDOW_INACTIVE_TAB_COLOR = 23,
|
||||
B_WINDOW_INACTIVE_TEXT_COLOR = 24,
|
||||
B_WINDOW_INACTIVE_TEXT_COLOR = 24
|
||||
};
|
||||
|
||||
_IMPEXP_BE rgb_color ui_color(color_which which);
|
||||
|
@ -27,7 +27,7 @@ extern "C" {
|
||||
enum {
|
||||
B_TIMEOUT = 8, /* relative timeout */
|
||||
B_RELATIVE_TIMEOUT = 8, /* fails after a relative timeout with B_WOULD_BLOCK */
|
||||
B_ABSOLUTE_TIMEOUT = 16, /* fails after an absolute timeout with B_WOULD BLOCK */
|
||||
B_ABSOLUTE_TIMEOUT = 16 /* fails after an absolute timeout with B_WOULD BLOCK */
|
||||
};
|
||||
|
||||
/*-------------------------------------------------------------*/
|
||||
@ -161,7 +161,7 @@ enum {
|
||||
B_DO_NOT_RESCHEDULE = 0x02, // thread is not rescheduled
|
||||
B_RELEASE_ALL = 0x08, // all waiting threads will be woken up,
|
||||
// count will be zeroed
|
||||
B_RELEASE_IF_WAITING_ONLY = 0x10, // release count only if there are any
|
||||
B_RELEASE_IF_WAITING_ONLY = 0x10 // release count only if there are any
|
||||
// threads waiting
|
||||
};
|
||||
|
||||
@ -233,7 +233,7 @@ typedef struct {
|
||||
enum {
|
||||
/* compatible to sys/resource.h RUSAGE_SELF and RUSAGE_CHILDREN */
|
||||
B_TEAM_USAGE_SELF = 0,
|
||||
B_TEAM_USAGE_CHILDREN = -1,
|
||||
B_TEAM_USAGE_CHILDREN = -1
|
||||
};
|
||||
|
||||
/* system private, use macros instead */
|
||||
@ -536,7 +536,7 @@ typedef enum cpu_types {
|
||||
B_CPU_M68K,
|
||||
B_CPU_ARM,
|
||||
B_CPU_SH,
|
||||
B_CPU_SPARC,
|
||||
B_CPU_SPARC
|
||||
} cpu_type;
|
||||
|
||||
#define B_CPU_x86_VENDOR_MASK 0xff00
|
||||
|
@ -72,7 +72,7 @@ enum {
|
||||
B_MISSING_LIBRARY,
|
||||
B_MISSING_SYMBOL,
|
||||
|
||||
B_DEBUGGER_ALREADY_INSTALLED = B_OS_ERROR_BASE + 0x400,
|
||||
B_DEBUGGER_ALREADY_INSTALLED = B_OS_ERROR_BASE + 0x400
|
||||
};
|
||||
|
||||
/* Application Kit Errors */
|
||||
@ -276,7 +276,7 @@ enum {
|
||||
B_DEV_FIFO_UNDERRUN,
|
||||
B_DEV_PENDING,
|
||||
B_DEV_MULTIPLE_ERRORS,
|
||||
B_DEV_TOO_LATE,
|
||||
B_DEV_TOO_LATE
|
||||
};
|
||||
|
||||
#endif /* _ERRORS_H */
|
||||
|
@ -37,7 +37,7 @@ enum {
|
||||
_ISxdigit = 0x1000, /* hexadecimal digit */
|
||||
_ISspace = 0x2000, /* white space */
|
||||
_ISprint = 0x4000, /* printing */
|
||||
_ISgraph = 0x8000, /* graphical */
|
||||
_ISgraph = 0x8000 /* graphical */
|
||||
};
|
||||
|
||||
/* Characteristics */
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
typedef struct _IO_FILE FILE;
|
||||
|
||||
#define __PRINTFLIKE(format, varargs) __attribute__ ((__format__ (__printf__, format, varargs)));
|
||||
#define __PRINTFLIKE(format, varargs) __attribute__ ((__format__ (__printf__, format, varargs)))
|
||||
#define __SCANFLIKE(format, varargs) __attribute__((__format__ (__scanf__, format, varargs)))
|
||||
|
||||
#endif /* _STDIO_PRE_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user