mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 06:47:21 +01:00
a4cd5630b0
non-i386, non-unix, and generatable files have been trimmed, but can easily be added in later if needed. gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's handy to have both available for reference for such little cost. The freebsd-specific changes will then be committed, and once the dust has settled, the bmakefiles will be committed to use this code.
6 lines
225 B
Sed
6 lines
225 B
Sed
s/!__STDC__/!defined (__STRICT_ANSI__)/g
|
|
s/getcwd(char \*, int)/getcwd(char *, size_t)/
|
|
s/Format\[\]/Format\[1\]/
|
|
s/^#if !defined (__cplusplus)/#if 0/
|
|
s/^#define DECLSPEC_IMPORT __declspec(dllimport)/#define DECLSPEC_IMPORT/
|