mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[LIBJPEG]
Instead of disabling a warning when using "main" as something else then the main function, define it to mainptr (it's used as a pointer variable) globally, this approach is portable. svn path=/trunk/; revision=47492
This commit is contained in:
parent
633c71de4e
commit
336bd01387
1 changed files with 1 additions and 1 deletions
2
reactos/dll/3rdparty/libjpeg/libjpeg.rbuild
vendored
2
reactos/dll/3rdparty/libjpeg/libjpeg.rbuild
vendored
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<module name="libjpeg" type="win32dll" entrypoint="0" installbase="system32" installname="libjpeg.dll" allowwarnings="true" crt="msvcrt">
|
||||
<compilerflag compilerset="gcc">-Wno-main</compilerflag>
|
||||
<define name="WIN32" />
|
||||
<define name="_WINDOWS" />
|
||||
<define name="_MBCS" />
|
||||
<define name="JPEG_DLL" />
|
||||
<define name="main">mainptr</define>
|
||||
<include base="libjpeg">.</include>
|
||||
<file>jcapimin.c</file>
|
||||
<file>jcapistd.c</file>
|
||||
|
|
Loading…
Reference in a new issue