Bo Peng <[EMAIL PROTECTED]> writes:
// The original author used some tricks to reduce executable
// size. They are removed to make the program compatible to
// mingw/gcc.

Rather than comment these #pragmas out, why not protect them with a #ifdef 
MSVC block?

Angus

// do not link to default libraries
//#pragma comment(linker,"/NODEFAULTLIB")
// unite code and data section (make the program smaller)
//#pragma comment(linker,"/MERGE:.rdata=.text")
// resolve record in section of code (?)
//#pragma comment(linker,"/SECTION:.text,EWR")
// the new entry point (why?)
//#pragma comment(linker,"/ENTRY:NewWinMain")


Reply via email to