|
From: | Schlumpf |
Subject: | [Mldonkey-users] [patch #4477] win: prevented some compiler warnings (os_stubs_c.c gdstubs.c) |
Date: | Mon, 3 Oct 2005 10:32:21 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 |
Follow-up Comment #4, patch #4477 (project mldonkey): >Including winbase.h is probably better than manually defining >INVALID_SET_FILE_POINTER at the top of the file, since it properly >defines it as a DWORD. its still included. in os_stubs_c.c > "#include "../../utils/lib/os_stubs.h"" in os_stubs.h > "#include <winsock.h>" in winsock.h > "#include <windows.h>" in windows.h > "#include <winbase.h>" but we can`t be sure that this is on all systems/compiler/environments, so the request if INVALID_SET_FILE_POINTER is defined *after including os_stubs.h* is still needed as a precaution. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4477> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |