#define WIN32_LEAN_AND_MEAN #endif #include <windows.h> #define NLOCKS 2 3 changes: 2 additions & 1 deletion 3 mingw-w64-crt/libsrc/dummy_mingwthrd.c Original file line numberDiff line numberDiff line change @@ -9,9 +9,10 @@ * */ #ifndef WIN32_LEAN_AND_MEAN #define WIN32...
# cl.exe -opt:nowin98 -D NDEBUG -D "GUI=0" -D "WIN32_LEAN_AND_MEAN" -ZI -Gy -MT -MERGE launcher.c -Os -link -MACHINE:x64 -SUBSYSTEM:CONSOLE version.lib advapi32.lib shell32.lib Maybe it's a good temporary workaround? Also, I'm not sure, but shouldn't Windows be able...
WIN32_LEAN_AND_MEAN;WIN32;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;**_DEBUG**;_CONSOLE;%(PreprocessorDefinitions) 我将其替换为 _NDEBUG,它又可以工作了: WIN32_LEAN_AND_MEAN;WIN32;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO...
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files: #include <windows.h> // C RunTime Header Files #include <stdlib.h> #include <malloc.h> #include <memory.h> #include <tchar.h> // TODO: reference additional headers your program req...
# per 0.9.8 release remaining warnings were explicitly examines and # considered safe to ignore. # $cflags=' /MD /W3 /Ox /Gs0 /GF /Gy /nologo -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DOPENSSL_SYSNAME_WIN32 -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE'; $lflags="/nologo...
HistoryHistory File metadata and controls Code Blame executable file· 9 lines (6 loc) · 154 Bytes Raw #ifndef WIN64UTILS_H #define WIN64UTILS_H #define WINDOWS_LEAN_AND_MEAN #include <windows.h> bool IsProcess64(HANDLE hProcess); #endif // WIN64UTILS_H 1 2 3 4 5 6 7 8 9...
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #include <stdlib.h> #include <stdio.h> #define FIONBIO_PROPER 0x8004667e int main(int argc, char **argv) { WSADATA wsaData; SOCKET ConnectSocket = INVALID_SOCKET; int iResult; DWORD dResul...
# per 0.9.8 release remaining warnings were explicitly examines and # considered safe to ignore. # $cflags=' /MD /W3 /Ox /Gs0 /GF /Gy /nologo -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DOPENSSL_SYSNAME_WIN32 -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE'; $lflags="/nologo...