Wine Notes -- Coding Hints

[ ]

About Coding Style(Habit)

About Error Handling

About Memory

Handle Build Warning

In file included from ../../include/windef.h:266:0, from ../../include/windows.h:37, from ../../include/winsock.h:110, from ../../include/winsock2.h:47, from wpcap.c:22: ../../include/winnt.h:607:0: note: this is the location of the previous definition #define STATUS_FLOAT_UNDERFLOW ((DWORD) 0xC0000093) {% endhighlight %}

那么用下面的方法来解决: 将#include "ntstatus.h"放在include最上面, 然后紧跟着 #define WIN32_NO_STATUS

Back