![]() |
【转帖】win32 Or -win32
win32 or _win32?
win32 or _win32? i'm trying to understand the usage of the win32 and _win32 macros in dwgdirect. i'm specifically interested in odfilebuf. i know that _win32 is defined internally by vc. i also see that win32 is defined by a compiler option in the project i am working on. are these two symbols used interchangeably in the dwgdirect code? or are they used to differentiate between platforms somehow? should i perhaps not be defining win32? thanks, -jimc odfilebuf has 2 implementations: windows (using windows specific functions providing proper file locking etc.) and cross-platform (using ansi functions). win32 symbol is used instead of _win32 to provide ability to debug cross-platform code on windows. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 02:20 PM. |