Lines 1-12
Link Here
|
1 |
/* -*- buffer-read-only: t -*- vi: set ro: |
1 |
/* -*- buffer-read-only: t -*- vi: set ro: |
2 |
* |
2 |
* |
3 |
* DO NOT EDIT THIS FILE (fixincl.x) |
3 |
* DO NOT EDIT THIS FILE (fixincl.x) |
4 |
* |
4 |
* |
5 |
* It has been AutoGen-ed Tuesday January 7, 2014 at 12:02:54 PM MET |
5 |
* It has been AutoGen-ed June 17, 2014 at 02:45:21 AM by AutoGen 5.18.1 |
6 |
* From the definitions inclhack.def |
6 |
* From the definitions inclhack.def |
7 |
* and the template file fixincl |
7 |
* and the template file fixincl |
8 |
*/ |
8 |
*/ |
9 |
/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Jan 7 12:02:54 MET 2014 |
9 |
/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Jun 17 02:45:21 FET 2014 |
10 |
* |
10 |
* |
11 |
* You must regenerate it. Use the ./genfixes script. |
11 |
* You must regenerate it. Use the ./genfixes script. |
12 |
* |
12 |
* |
Lines 15-21
Link Here
|
15 |
* certain ANSI-incompatible system header files which are fixed to work |
15 |
* certain ANSI-incompatible system header files which are fixed to work |
16 |
* correctly with ANSI C and placed in a directory that GNU C will search. |
16 |
* correctly with ANSI C and placed in a directory that GNU C will search. |
17 |
* |
17 |
* |
18 |
* This file contains 224 fixup descriptions. |
18 |
* This file contains 225 fixup descriptions. |
19 |
* |
19 |
* |
20 |
* See README for more information. |
20 |
* See README for more information. |
21 |
* |
21 |
* |
Lines 9182-9187
static const char* apzX11_SprintfPatch[] = {
Link Here
|
9182 |
#endif /* !defined __STDC__ */", |
9182 |
#endif /* !defined __STDC__ */", |
9183 |
(char*)NULL }; |
9183 |
(char*)NULL }; |
9184 |
|
9184 |
|
|
|
9185 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * |
9186 |
* |
9187 |
* Description of Darwin14_Has_Feature fix |
9188 |
*/ |
9189 |
tSCC zDarwin14_Has_FeatureName[] = |
9190 |
"darwin14_has_feature"; |
9191 |
|
9192 |
/* |
9193 |
* File name selection pattern |
9194 |
*/ |
9195 |
tSCC zDarwin14_Has_FeatureList[] = |
9196 |
"Availability.h\0"; |
9197 |
/* |
9198 |
* Machine/OS name selection pattern |
9199 |
*/ |
9200 |
tSCC* apzDarwin14_Has_FeatureMachs[] = { |
9201 |
"*-*-darwin14.0*", |
9202 |
(const char*)NULL }; |
9203 |
#define DARWIN14_HAS_FEATURE_TEST_CT 0 |
9204 |
#define aDarwin14_Has_FeatureTests (tTestDesc*)NULL |
9205 |
|
9206 |
/* |
9207 |
* Fix Command Arguments for Darwin14_Has_Feature |
9208 |
*/ |
9209 |
static const char* apzDarwin14_Has_FeaturePatch[] = { |
9210 |
"wrap", |
9211 |
"\n\ |
9212 |
/* GCC doesn't support __has_feature built-in in C mode and\n\ |
9213 |
* using defined(__has_feature) && __has_feature in the same\n\ |
9214 |
* macro expression is not valid. So, easiest way is to define\n\ |
9215 |
* for this header __has_feature as a macro, returning 0, in case\n\ |
9216 |
* it is not defined internally\n\ |
9217 |
*/\n\ |
9218 |
#ifndef __has_feature\n\ |
9219 |
#define __has_feature(x) 0\n\ |
9220 |
#endif\n", |
9221 |
(char*)NULL }; |
9222 |
|
9185 |
|
9223 |
|
9186 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * |
9224 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * |
9187 |
* |
9225 |
* |
Lines 9189-9195
static const char* apzX11_SprintfPatch[] = {
Link Here
|
9189 |
*/ |
9227 |
*/ |
9190 |
#define REGEX_COUNT 261 |
9228 |
#define REGEX_COUNT 261 |
9191 |
#define MACH_LIST_SIZE_LIMIT 187 |
9229 |
#define MACH_LIST_SIZE_LIMIT 187 |
9192 |
#define FIX_COUNT 224 |
9230 |
#define FIX_COUNT 225 |
9193 |
|
9231 |
|
9194 |
/* |
9232 |
/* |
9195 |
* Enumerate the fixes |
9233 |
* Enumerate the fixes |
Lines 9418-9424
typedef enum {
Link Here
|
9418 |
X11_CLASS_FIXIDX, |
9456 |
X11_CLASS_FIXIDX, |
9419 |
X11_CLASS_USAGE_FIXIDX, |
9457 |
X11_CLASS_USAGE_FIXIDX, |
9420 |
X11_NEW_FIXIDX, |
9458 |
X11_NEW_FIXIDX, |
9421 |
X11_SPRINTF_FIXIDX |
9459 |
X11_SPRINTF_FIXIDX, |
|
|
9460 |
DARWIN14_HAS_FEATURE_FIXIDX |
9422 |
} t_fixinc_idx; |
9461 |
} t_fixinc_idx; |
9423 |
|
9462 |
|
9424 |
tFixDesc fixDescList[ FIX_COUNT ] = { |
9463 |
tFixDesc fixDescList[ FIX_COUNT ] = { |
Lines 10540-10544
tFixDesc fixDescList[ FIX_COUNT ] = {
Link Here
|
10540 |
{ zX11_SprintfName, zX11_SprintfList, |
10579 |
{ zX11_SprintfName, zX11_SprintfList, |
10541 |
apzX11_SprintfMachs, |
10580 |
apzX11_SprintfMachs, |
10542 |
X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
10581 |
X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
10543 |
aX11_SprintfTests, apzX11_SprintfPatch, 0 } |
10582 |
aX11_SprintfTests, apzX11_SprintfPatch, 0 }, |
|
|
10583 |
|
10584 |
{ zDarwin14_Has_FeatureName, zDarwin14_Has_FeatureList, |
10585 |
apzDarwin14_Has_FeatureMachs, |
10586 |
DARWIN14_HAS_FEATURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
10587 |
aDarwin14_Has_FeatureTests, apzDarwin14_Has_FeaturePatch, 0 } |
10544 |
}; |
10588 |
}; |