gcc-papermario/fixinc-nt.sed

6 lines
225 B
Sed
Raw Normal View History

2020-09-21 03:06:00 +02:00
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/