Mercurial > mplayer.hg
diff loader/pe_image.c @ 32394:914208d188b9
Remove #warning preprocessor directives or replace them by suitable comments.
The #warning preprocessor directive is non-standard and not available with all
compilers. Furthermore, the warnings it causes are noisy and have not led to
getting any of the underlying issues fixed in the space of a decade.
author | diego |
---|---|
date | Mon, 11 Oct 2010 12:33:57 +0000 |
parents | 0f1b5b68af32 |
children | 8fa2f43cb760 |
line wrap: on
line diff
--- a/loader/pe_image.c Sun Oct 10 11:20:57 2010 +0000 +++ b/loader/pe_image.c Mon Oct 11 12:33:57 2010 +0000 @@ -292,7 +292,7 @@ if (characteristics_detection && !pe_imp->u.Characteristics) break; -//#warning FIXME: here we should fill imports + /* FIXME: here we should fill imports */ TRACE("Loading imports for %s.dll\n", name); if (pe_imp->u.OriginalFirstThunk != 0) { @@ -452,7 +452,7 @@ file_size=lseek(handle, 0, SEEK_END); lseek(handle, 0, SEEK_SET); -//#warning fix CreateFileMappingA + // fix CreateFileMappingA mapping = CreateFileMappingA( handle, NULL, PAGE_READONLY | SEC_COMMIT, 0, 0, NULL ); if (!mapping)