1s/!__STDC__/!defined (__STRICT_ANSI__)/g 2s/getcwd(char \*, int)/getcwd(char *, size_t)/ 3s/Format\[\]/Format\[1\]/ 4s/^#if !defined (__cplusplus)/#if 0/ 5s/^#define DECLSPEC_IMPORT __declspec(dllimport)/#define DECLSPEC_IMPORT/ 6